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.
- aidp_python_client/aidataplatform_dp/__init__.py +44 -0
- aidp_python_client/aidataplatform_dp/async_operations_client.py +322 -0
- aidp_python_client/aidataplatform_dp/async_operations_client_composite_operations.py +24 -0
- aidp_python_client/aidataplatform_dp/audit_client.py +294 -0
- aidp_python_client/aidataplatform_dp/audit_client_composite_operations.py +24 -0
- aidp_python_client/aidataplatform_dp/bundle_client.py +711 -0
- aidp_python_client/aidataplatform_dp/bundle_client_composite_operations.py +24 -0
- aidp_python_client/aidataplatform_dp/catalog_client.py +1071 -0
- aidp_python_client/aidataplatform_dp/catalog_client_composite_operations.py +24 -0
- aidp_python_client/aidataplatform_dp/cluster_client.py +1873 -0
- aidp_python_client/aidataplatform_dp/cluster_client_composite_operations.py +24 -0
- aidp_python_client/aidataplatform_dp/credentials_client.py +620 -0
- aidp_python_client/aidataplatform_dp/credentials_client_composite_operations.py +24 -0
- aidp_python_client/aidataplatform_dp/delta_share_client.py +2210 -0
- aidp_python_client/aidataplatform_dp/delta_share_client_composite_operations.py +110 -0
- aidp_python_client/aidataplatform_dp/git_client.py +1819 -0
- aidp_python_client/aidataplatform_dp/git_client_composite_operations.py +24 -0
- aidp_python_client/aidataplatform_dp/ml_ops_client.py +4689 -0
- aidp_python_client/aidataplatform_dp/ml_ops_client_composite_operations.py +24 -0
- aidp_python_client/aidataplatform_dp/models/__init__.py +1618 -0
- aidp_python_client/aidataplatform_dp/models/active_cluster_resources.py +194 -0
- aidp_python_client/aidataplatform_dp/models/add_member_to_role_details.py +70 -0
- aidp_python_client/aidataplatform_dp/models/admin_setting.py +159 -0
- aidp_python_client/aidataplatform_dp/models/admin_setting_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/admin_setting_summary.py +277 -0
- aidp_python_client/aidataplatform_dp/models/adw_schema.py +134 -0
- aidp_python_client/aidataplatform_dp/models/adw_schema_summary.py +128 -0
- aidp_python_client/aidataplatform_dp/models/adw_table.py +177 -0
- aidp_python_client/aidataplatform_dp/models/adw_table_summary.py +107 -0
- aidp_python_client/aidataplatform_dp/models/agent_card_capabilities_detail.py +70 -0
- aidp_python_client/aidataplatform_dp/models/agent_card_config_detail.py +248 -0
- aidp_python_client/aidataplatform_dp/models/agent_card_preview_response.py +70 -0
- aidp_python_client/aidataplatform_dp/models/agent_card_skill_detail.py +194 -0
- aidp_python_client/aidataplatform_dp/models/agent_flow.py +803 -0
- aidp_python_client/aidataplatform_dp/models/agent_flow_attachment.py +101 -0
- aidp_python_client/aidataplatform_dp/models/agent_flow_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/agent_flow_compute.py +170 -0
- aidp_python_client/aidataplatform_dp/models/agent_flow_dependency.py +132 -0
- aidp_python_client/aidataplatform_dp/models/agent_flow_dependency_item.py +132 -0
- aidp_python_client/aidataplatform_dp/models/agent_flow_deployment.py +577 -0
- aidp_python_client/aidataplatform_dp/models/agent_flow_deployment_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/agent_flow_deployment_summary.py +461 -0
- aidp_python_client/aidataplatform_dp/models/agent_flow_detachment.py +101 -0
- aidp_python_client/aidataplatform_dp/models/agent_flow_diagram.py +287 -0
- aidp_python_client/aidataplatform_dp/models/agent_flow_edge.py +411 -0
- aidp_python_client/aidataplatform_dp/models/agent_flow_guardrails_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/agent_flow_guardrails_summary.py +335 -0
- aidp_python_client/aidataplatform_dp/models/agent_flow_node.py +661 -0
- aidp_python_client/aidataplatform_dp/models/agent_flow_permission_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/agent_flow_permission_summary.py +336 -0
- aidp_python_client/aidataplatform_dp/models/agent_flow_session.py +467 -0
- aidp_python_client/aidataplatform_dp/models/agent_flow_session_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/agent_flow_session_context.py +66 -0
- aidp_python_client/aidataplatform_dp/models/agent_flow_session_metric.py +872 -0
- aidp_python_client/aidataplatform_dp/models/agent_flow_session_metrics_range.py +163 -0
- aidp_python_client/aidataplatform_dp/models/agent_flow_session_summary.py +440 -0
- aidp_python_client/aidataplatform_dp/models/agent_flow_summary.py +647 -0
- aidp_python_client/aidataplatform_dp/models/agent_flow_validation_issue.py +399 -0
- aidp_python_client/aidataplatform_dp/models/agent_flow_validation_metadata.py +257 -0
- aidp_python_client/aidataplatform_dp/models/agent_flow_validation_options.py +101 -0
- aidp_python_client/aidataplatform_dp/models/agent_flow_validation_result.py +203 -0
- aidp_python_client/aidataplatform_dp/models/agent_flow_validation_summary.py +194 -0
- aidp_python_client/aidataplatform_dp/models/agent_node.py +332 -0
- aidp_python_client/aidataplatform_dp/models/agent_provider.py +101 -0
- aidp_python_client/aidataplatform_dp/models/aggregated_data_point.py +101 -0
- aidp_python_client/aidataplatform_dp/models/aggregated_time_series_data_point.py +101 -0
- aidp_python_client/aidataplatform_dp/models/ai_compute_override_item.py +194 -0
- aidp_python_client/aidataplatform_dp/models/ai_data_platform.py +42 -0
- aidp_python_client/aidataplatform_dp/models/ai_model.py +251 -0
- aidp_python_client/aidataplatform_dp/models/airflow_cell_config.py +101 -0
- aidp_python_client/aidataplatform_dp/models/alh_schema.py +134 -0
- aidp_python_client/aidataplatform_dp/models/alh_schema_summary.py +128 -0
- aidp_python_client/aidataplatform_dp/models/alh_table.py +177 -0
- aidp_python_client/aidataplatform_dp/models/alh_table_summary.py +107 -0
- aidp_python_client/aidataplatform_dp/models/allowed_tool_details.py +128 -0
- aidp_python_client/aidataplatform_dp/models/artifact_file_info.py +132 -0
- aidp_python_client/aidataplatform_dp/models/artifact_list.py +132 -0
- aidp_python_client/aidataplatform_dp/models/assign_agent_flow_permission_details.py +187 -0
- aidp_python_client/aidataplatform_dp/models/assign_catalog_permission_details.py +125 -0
- aidp_python_client/aidataplatform_dp/models/assign_cluster_permission_details.py +121 -0
- aidp_python_client/aidataplatform_dp/models/assign_create_workspace_permission_details.py +66 -0
- aidp_python_client/aidataplatform_dp/models/assign_credential_permission_details.py +125 -0
- aidp_python_client/aidataplatform_dp/models/assign_job_permission_details.py +125 -0
- aidp_python_client/aidataplatform_dp/models/assign_knowledge_base_permission_details.py +121 -0
- aidp_python_client/aidataplatform_dp/models/assign_master_catalog_permission_details.py +129 -0
- aidp_python_client/aidataplatform_dp/models/assign_recipient_permission_details.py +121 -0
- aidp_python_client/aidataplatform_dp/models/assign_role_permission_details.py +70 -0
- aidp_python_client/aidataplatform_dp/models/assign_schema_permission_details.py +137 -0
- aidp_python_client/aidataplatform_dp/models/assign_share_permission_details.py +121 -0
- aidp_python_client/aidataplatform_dp/models/assign_table_permission_details.py +195 -0
- aidp_python_client/aidataplatform_dp/models/assign_tool_permission_details.py +183 -0
- aidp_python_client/aidataplatform_dp/models/assign_view_permission_details.py +183 -0
- aidp_python_client/aidataplatform_dp/models/assign_volume_permission_details.py +121 -0
- aidp_python_client/aidataplatform_dp/models/assign_workspace_object_permission_details.py +156 -0
- aidp_python_client/aidataplatform_dp/models/assign_workspace_permission_details.py +121 -0
- aidp_python_client/aidataplatform_dp/models/async_operation.py +747 -0
- aidp_python_client/aidataplatform_dp/models/async_operation_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/async_operation_summary.py +685 -0
- aidp_python_client/aidataplatform_dp/models/atp_schema.py +134 -0
- aidp_python_client/aidataplatform_dp/models/atp_schema_summary.py +128 -0
- aidp_python_client/aidataplatform_dp/models/atp_table.py +177 -0
- aidp_python_client/aidataplatform_dp/models/atp_table_summary.py +107 -0
- aidp_python_client/aidataplatform_dp/models/attach_compute_details.py +70 -0
- aidp_python_client/aidataplatform_dp/models/attach_master_catalog_to_cluster_details.py +70 -0
- aidp_python_client/aidataplatform_dp/models/attach_to_notebook_config.py +70 -0
- aidp_python_client/aidataplatform_dp/models/attach_workspace_object_to_cluster_details.py +42 -0
- aidp_python_client/aidataplatform_dp/models/attached_session.py +195 -0
- aidp_python_client/aidataplatform_dp/models/audit_log_search_result_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/audit_log_search_result_summary.py +542 -0
- aidp_python_client/aidataplatform_dp/models/auth.py +124 -0
- aidp_python_client/aidataplatform_dp/models/auto_scale.py +101 -0
- aidp_python_client/aidataplatform_dp/models/bearer_token_auth.py +80 -0
- aidp_python_client/aidataplatform_dp/models/bucket_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/bucket_summary.py +204 -0
- aidp_python_client/aidataplatform_dp/models/bundle.py +42 -0
- aidp_python_client/aidataplatform_dp/models/bundle_deployed_resource.py +148 -0
- aidp_python_client/aidataplatform_dp/models/bundle_deployment_status.py +218 -0
- aidp_python_client/aidataplatform_dp/models/bundle_overrides.py +101 -0
- aidp_python_client/aidataplatform_dp/models/bundle_overrides_with_path.py +97 -0
- aidp_python_client/aidataplatform_dp/models/bundle_validation_result.py +153 -0
- aidp_python_client/aidataplatform_dp/models/bundled_resource.py +118 -0
- aidp_python_client/aidataplatform_dp/models/catalog.py +548 -0
- aidp_python_client/aidataplatform_dp/models/catalog_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/catalog_connection_details.py +101 -0
- aidp_python_client/aidataplatform_dp/models/catalog_migration_detail.py +211 -0
- aidp_python_client/aidataplatform_dp/models/catalog_permission_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/catalog_permission_summary.py +207 -0
- aidp_python_client/aidataplatform_dp/models/catalog_summary.py +569 -0
- aidp_python_client/aidataplatform_dp/models/catalog_test_connection_details.py +165 -0
- aidp_python_client/aidataplatform_dp/models/category_config.py +184 -0
- aidp_python_client/aidataplatform_dp/models/chat_message.py +184 -0
- aidp_python_client/aidataplatform_dp/models/checkout_branch_details.py +101 -0
- aidp_python_client/aidataplatform_dp/models/clear_outputs_details.py +70 -0
- aidp_python_client/aidataplatform_dp/models/cluster.py +757 -0
- aidp_python_client/aidataplatform_dp/models/cluster_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/cluster_event.py +116 -0
- aidp_python_client/aidataplatform_dp/models/cluster_execution_context_availability_event.py +80 -0
- aidp_python_client/aidataplatform_dp/models/cluster_instance.py +102 -0
- aidp_python_client/aidataplatform_dp/models/cluster_library_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/cluster_library_details.py +156 -0
- aidp_python_client/aidataplatform_dp/models/cluster_library_summary.py +261 -0
- aidp_python_client/aidataplatform_dp/models/cluster_log_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/cluster_logs_summary.py +128 -0
- aidp_python_client/aidataplatform_dp/models/cluster_patch_event.py +205 -0
- aidp_python_client/aidataplatform_dp/models/cluster_permission_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/cluster_permission_summary.py +203 -0
- aidp_python_client/aidataplatform_dp/models/cluster_runtime_config.py +130 -0
- aidp_python_client/aidataplatform_dp/models/cluster_spec.py +124 -0
- aidp_python_client/aidataplatform_dp/models/cluster_state_event.py +157 -0
- aidp_python_client/aidataplatform_dp/models/cluster_summary.py +690 -0
- aidp_python_client/aidataplatform_dp/models/commit_push_details.py +194 -0
- aidp_python_client/aidataplatform_dp/models/compute_dependency.py +80 -0
- aidp_python_client/aidataplatform_dp/models/compute_override_item.py +194 -0
- aidp_python_client/aidataplatform_dp/models/conflict_resolve_details.py +122 -0
- aidp_python_client/aidataplatform_dp/models/content.py +502 -0
- aidp_python_client/aidataplatform_dp/models/content_moderation_category_config.py +217 -0
- aidp_python_client/aidataplatform_dp/models/content_moderation_config.py +149 -0
- aidp_python_client/aidataplatform_dp/models/content_moderation_policy.py +117 -0
- aidp_python_client/aidataplatform_dp/models/continuous.py +86 -0
- aidp_python_client/aidataplatform_dp/models/copy_agent_flow_details.py +163 -0
- aidp_python_client/aidataplatform_dp/models/copy_workspace_object_details.py +225 -0
- aidp_python_client/aidataplatform_dp/models/create_admin_setting_details.py +128 -0
- aidp_python_client/aidataplatform_dp/models/create_agent_flow_compute_details.py +77 -0
- aidp_python_client/aidataplatform_dp/models/create_agent_flow_details.py +381 -0
- aidp_python_client/aidataplatform_dp/models/create_agent_flow_edge_details.py +262 -0
- aidp_python_client/aidataplatform_dp/models/create_agent_flow_node_details.py +482 -0
- aidp_python_client/aidataplatform_dp/models/create_agent_flow_session_details.py +128 -0
- aidp_python_client/aidataplatform_dp/models/create_agent_node_details.py +266 -0
- aidp_python_client/aidataplatform_dp/models/create_bundle_details.py +165 -0
- aidp_python_client/aidataplatform_dp/models/create_catalog_details.py +275 -0
- aidp_python_client/aidataplatform_dp/models/create_cluster_details.py +228 -0
- aidp_python_client/aidataplatform_dp/models/create_connection_details.py +70 -0
- aidp_python_client/aidataplatform_dp/models/create_content_details.py +132 -0
- aidp_python_client/aidataplatform_dp/models/create_custom_tool_details.py +190 -0
- aidp_python_client/aidataplatform_dp/models/create_custom_tool_node_details.py +208 -0
- aidp_python_client/aidataplatform_dp/models/create_data_lake_credential_details.py +180 -0
- aidp_python_client/aidataplatform_dp/models/create_data_table_details.py +417 -0
- aidp_python_client/aidataplatform_dp/models/create_experiment_details.py +132 -0
- aidp_python_client/aidataplatform_dp/models/create_experiment_response_details.py +70 -0
- aidp_python_client/aidataplatform_dp/models/create_experiment_run_details.py +163 -0
- aidp_python_client/aidataplatform_dp/models/create_experiment_run_response_details.py +66 -0
- aidp_python_client/aidataplatform_dp/models/create_git_branch.py +256 -0
- aidp_python_client/aidataplatform_dp/models/create_git_branch_details.py +101 -0
- aidp_python_client/aidataplatform_dp/models/create_git_folder_details.py +225 -0
- aidp_python_client/aidataplatform_dp/models/create_http_tool_details.py +128 -0
- aidp_python_client/aidataplatform_dp/models/create_http_tool_node_details.py +208 -0
- aidp_python_client/aidataplatform_dp/models/create_job_details.py +426 -0
- aidp_python_client/aidataplatform_dp/models/create_job_run_details.py +248 -0
- aidp_python_client/aidataplatform_dp/models/create_knowledge_base_details.py +516 -0
- aidp_python_client/aidataplatform_dp/models/create_knowledge_base_job_details.py +290 -0
- aidp_python_client/aidataplatform_dp/models/create_knowledge_base_job_run_details.py +70 -0
- aidp_python_client/aidataplatform_dp/models/create_master_catalog_details.py +101 -0
- aidp_python_client/aidataplatform_dp/models/create_mcp_tool_node_details.py +208 -0
- aidp_python_client/aidataplatform_dp/models/create_model_version_details.py +256 -0
- aidp_python_client/aidataplatform_dp/models/create_model_version_response_details.py +66 -0
- aidp_python_client/aidataplatform_dp/models/create_nl_to_sql_tool_details.py +124 -0
- aidp_python_client/aidataplatform_dp/models/create_or_update_bundle_overrides_details.py +97 -0
- aidp_python_client/aidataplatform_dp/models/create_prompt_tool_details.py +128 -0
- aidp_python_client/aidataplatform_dp/models/create_prompt_tool_node_details.py +208 -0
- aidp_python_client/aidataplatform_dp/models/create_rag_tool_details.py +124 -0
- aidp_python_client/aidataplatform_dp/models/create_rag_tool_node_details.py +204 -0
- aidp_python_client/aidataplatform_dp/models/create_recipient_details.py +134 -0
- aidp_python_client/aidataplatform_dp/models/create_registered_model_details.py +163 -0
- aidp_python_client/aidataplatform_dp/models/create_registered_model_response_details.py +66 -0
- aidp_python_client/aidataplatform_dp/models/create_role_details.py +101 -0
- aidp_python_client/aidataplatform_dp/models/create_schema_details.py +163 -0
- aidp_python_client/aidataplatform_dp/models/create_session_details.py +252 -0
- aidp_python_client/aidataplatform_dp/models/create_setting_details.py +128 -0
- aidp_python_client/aidataplatform_dp/models/create_share_details.py +101 -0
- aidp_python_client/aidataplatform_dp/models/create_spark_cluster_details.py +243 -0
- aidp_python_client/aidataplatform_dp/models/create_sql_tool_details.py +128 -0
- aidp_python_client/aidataplatform_dp/models/create_sql_tool_node_details.py +208 -0
- aidp_python_client/aidataplatform_dp/models/create_table_details.py +358 -0
- aidp_python_client/aidataplatform_dp/models/create_tool_details.py +237 -0
- aidp_python_client/aidataplatform_dp/models/create_user_setting_details.py +128 -0
- aidp_python_client/aidataplatform_dp/models/create_view_details.py +256 -0
- aidp_python_client/aidataplatform_dp/models/create_volume_details.py +242 -0
- aidp_python_client/aidataplatform_dp/models/create_workspace_details.py +165 -0
- aidp_python_client/aidataplatform_dp/models/create_workspace_permission_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/create_workspace_permission_summary.py +152 -0
- aidp_python_client/aidataplatform_dp/models/credential.py +420 -0
- aidp_python_client/aidataplatform_dp/models/credential_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/credential_details.py +117 -0
- aidp_python_client/aidataplatform_dp/models/credential_summary.py +362 -0
- aidp_python_client/aidataplatform_dp/models/credential_v2.py +422 -0
- aidp_python_client/aidataplatform_dp/models/credential_v2_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/credential_v2_name_and_secret_key.py +102 -0
- aidp_python_client/aidataplatform_dp/models/credential_v2_summary.py +364 -0
- aidp_python_client/aidataplatform_dp/models/credentials_permission_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/custom_pii_rule.py +256 -0
- aidp_python_client/aidataplatform_dp/models/custom_result.py +163 -0
- aidp_python_client/aidataplatform_dp/models/custom_test_tool_result.py +76 -0
- aidp_python_client/aidataplatform_dp/models/custom_tool.py +246 -0
- aidp_python_client/aidataplatform_dp/models/custom_tool_configuration.py +283 -0
- aidp_python_client/aidataplatform_dp/models/custom_tool_entry.py +225 -0
- aidp_python_client/aidataplatform_dp/models/custom_tool_node.py +185 -0
- aidp_python_client/aidataplatform_dp/models/dac_endpoint_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/dac_endpoint_summary.py +458 -0
- aidp_python_client/aidataplatform_dp/models/data_lake.py +48 -0
- aidp_python_client/aidataplatform_dp/models/data_lake_cluster_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/data_lake_cluster_summary.py +132 -0
- aidp_python_client/aidataplatform_dp/models/data_lake_metadata.py +163 -0
- aidp_python_client/aidataplatform_dp/models/dataset.py +225 -0
- aidp_python_client/aidataplatform_dp/models/dataset_input.py +97 -0
- aidp_python_client/aidataplatform_dp/models/de_provision_user_schemas_details.py +48 -0
- aidp_python_client/aidataplatform_dp/models/default_cluster.py +438 -0
- aidp_python_client/aidataplatform_dp/models/delete_experiment_details.py +70 -0
- aidp_python_client/aidataplatform_dp/models/delete_experiment_response_details.py +42 -0
- aidp_python_client/aidataplatform_dp/models/delete_experiment_run_details.py +70 -0
- aidp_python_client/aidataplatform_dp/models/delete_experiment_run_response_details.py +42 -0
- aidp_python_client/aidataplatform_dp/models/delete_experiment_run_tag_details.py +101 -0
- aidp_python_client/aidataplatform_dp/models/delete_experiment_run_tag_response_details.py +42 -0
- aidp_python_client/aidataplatform_dp/models/delete_experiment_tag_details.py +101 -0
- aidp_python_client/aidataplatform_dp/models/delete_experiment_tag_response_details.py +42 -0
- aidp_python_client/aidataplatform_dp/models/delete_model_version_details.py +101 -0
- aidp_python_client/aidataplatform_dp/models/delete_model_version_response_details.py +42 -0
- aidp_python_client/aidataplatform_dp/models/delete_model_version_tag_details.py +132 -0
- aidp_python_client/aidataplatform_dp/models/delete_model_version_tag_response_details.py +42 -0
- aidp_python_client/aidataplatform_dp/models/delete_registered_model_details.py +70 -0
- aidp_python_client/aidataplatform_dp/models/delete_registered_model_response_details.py +42 -0
- aidp_python_client/aidataplatform_dp/models/delete_registered_model_tag_details.py +101 -0
- aidp_python_client/aidataplatform_dp/models/delete_registered_model_tag_response_details.py +42 -0
- aidp_python_client/aidataplatform_dp/models/denied_topic.py +132 -0
- aidp_python_client/aidataplatform_dp/models/denied_topics_policy.py +117 -0
- aidp_python_client/aidataplatform_dp/models/dependency.py +116 -0
- aidp_python_client/aidataplatform_dp/models/depends_on.py +101 -0
- aidp_python_client/aidataplatform_dp/models/deploy_agent_flow_details.py +269 -0
- aidp_python_client/aidataplatform_dp/models/deploy_bundle_details.py +70 -0
- aidp_python_client/aidataplatform_dp/models/detach_compute_details.py +70 -0
- aidp_python_client/aidataplatform_dp/models/detach_workspace_object_from_cluster_details.py +42 -0
- aidp_python_client/aidataplatform_dp/models/download_cluster_logs_details.py +404 -0
- aidp_python_client/aidataplatform_dp/models/download_file_with_par_result.py +353 -0
- aidp_python_client/aidataplatform_dp/models/driver_config.py +128 -0
- aidp_python_client/aidataplatform_dp/models/embedding_model_details.py +110 -0
- aidp_python_client/aidataplatform_dp/models/exadata_schema.py +134 -0
- aidp_python_client/aidataplatform_dp/models/exadata_schema_summary.py +128 -0
- aidp_python_client/aidataplatform_dp/models/exadata_table.py +177 -0
- aidp_python_client/aidataplatform_dp/models/exadata_table_summary.py +107 -0
- aidp_python_client/aidataplatform_dp/models/execute_database_user_workflows_details.py +99 -0
- aidp_python_client/aidataplatform_dp/models/execute_sql_command_details.py +110 -0
- aidp_python_client/aidataplatform_dp/models/experiment.py +256 -0
- aidp_python_client/aidataplatform_dp/models/experiment_collection.py +101 -0
- aidp_python_client/aidataplatform_dp/models/experiment_response.py +66 -0
- aidp_python_client/aidataplatform_dp/models/experiment_run.py +147 -0
- aidp_python_client/aidataplatform_dp/models/experiment_run_collection.py +101 -0
- aidp_python_client/aidataplatform_dp/models/experiment_run_data.py +132 -0
- aidp_python_client/aidataplatform_dp/models/experiment_run_info.py +381 -0
- aidp_python_client/aidataplatform_dp/models/experiment_run_inputs.py +101 -0
- aidp_python_client/aidataplatform_dp/models/experiment_run_metric.py +163 -0
- aidp_python_client/aidataplatform_dp/models/experiment_run_metric_history_collection.py +101 -0
- aidp_python_client/aidataplatform_dp/models/experiment_run_outputs.py +70 -0
- aidp_python_client/aidataplatform_dp/models/experiment_run_param.py +101 -0
- aidp_python_client/aidataplatform_dp/models/experiment_run_tag.py +101 -0
- aidp_python_client/aidataplatform_dp/models/experiment_run_tag_key.py +70 -0
- aidp_python_client/aidataplatform_dp/models/experiment_tag.py +101 -0
- aidp_python_client/aidataplatform_dp/models/experiment_tag_key.py +70 -0
- aidp_python_client/aidataplatform_dp/models/export_contents_details.py +87 -0
- aidp_python_client/aidataplatform_dp/models/export_task_run_output_details.py +87 -0
- aidp_python_client/aidataplatform_dp/models/exported_contents.py +181 -0
- aidp_python_client/aidataplatform_dp/models/exported_task_run_output_contents.py +181 -0
- aidp_python_client/aidataplatform_dp/models/expression.py +101 -0
- aidp_python_client/aidataplatform_dp/models/external_agent_node.py +216 -0
- aidp_python_client/aidataplatform_dp/models/external_catalog_migration_result.py +194 -0
- aidp_python_client/aidataplatform_dp/models/external_table_definition.py +215 -0
- aidp_python_client/aidataplatform_dp/models/feature.py +101 -0
- aidp_python_client/aidataplatform_dp/models/feature_status_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/feature_status_result.py +66 -0
- aidp_python_client/aidataplatform_dp/models/feature_status_summary.py +132 -0
- aidp_python_client/aidataplatform_dp/models/fetch_bundle_deployment_status_details.py +70 -0
- aidp_python_client/aidataplatform_dp/models/fetch_mcp_objects_details.py +352 -0
- aidp_python_client/aidataplatform_dp/models/fetch_mcp_objects_result.py +181 -0
- aidp_python_client/aidataplatform_dp/models/fetch_output_details.py +70 -0
- aidp_python_client/aidataplatform_dp/models/field_info.py +125 -0
- aidp_python_client/aidataplatform_dp/models/file_dependency.py +80 -0
- aidp_python_client/aidataplatform_dp/models/filter_types.py +101 -0
- aidp_python_client/aidataplatform_dp/models/generate_temp_file_upload_target_response_details.py +132 -0
- aidp_python_client/aidataplatform_dp/models/get_bundle_overrides_details.py +70 -0
- aidp_python_client/aidataplatform_dp/models/get_experiment_run_response_details.py +66 -0
- aidp_python_client/aidataplatform_dp/models/get_model_version_response_details.py +66 -0
- aidp_python_client/aidataplatform_dp/models/get_registered_model_response_details.py +66 -0
- aidp_python_client/aidataplatform_dp/models/git_account_user_setting.py +210 -0
- aidp_python_client/aidataplatform_dp/models/git_branch.py +225 -0
- aidp_python_client/aidataplatform_dp/models/git_branch_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/git_branch_summary.py +101 -0
- aidp_python_client/aidataplatform_dp/models/git_config.py +187 -0
- aidp_python_client/aidataplatform_dp/models/git_diff_detail.py +249 -0
- aidp_python_client/aidataplatform_dp/models/git_diff_summary.py +270 -0
- aidp_python_client/aidataplatform_dp/models/git_diff_summary_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/git_folder.py +225 -0
- aidp_python_client/aidataplatform_dp/models/git_folder_metadatum.py +101 -0
- aidp_python_client/aidataplatform_dp/models/git_merge_details.py +163 -0
- aidp_python_client/aidataplatform_dp/models/git_operation_state.py +381 -0
- aidp_python_client/aidataplatform_dp/models/git_pull_details.py +215 -0
- aidp_python_client/aidataplatform_dp/models/git_rebase_details.py +163 -0
- aidp_python_client/aidataplatform_dp/models/git_repair_work_tree_details.py +101 -0
- aidp_python_client/aidataplatform_dp/models/git_repository.py +225 -0
- aidp_python_client/aidataplatform_dp/models/git_reset_details.py +184 -0
- aidp_python_client/aidataplatform_dp/models/git_restore_branch_details.py +132 -0
- aidp_python_client/aidataplatform_dp/models/grouped_search_criteria.py +252 -0
- aidp_python_client/aidataplatform_dp/models/guardrail_node.py +216 -0
- aidp_python_client/aidataplatform_dp/models/guardrails_configuration.py +163 -0
- aidp_python_client/aidataplatform_dp/models/history_collection.py +101 -0
- aidp_python_client/aidataplatform_dp/models/history_summary.py +256 -0
- aidp_python_client/aidataplatform_dp/models/http_result.py +256 -0
- aidp_python_client/aidataplatform_dp/models/http_test_tool_result.py +76 -0
- aidp_python_client/aidataplatform_dp/models/http_tool.py +184 -0
- aidp_python_client/aidataplatform_dp/models/http_tool_configuration.py +312 -0
- aidp_python_client/aidataplatform_dp/models/http_tool_node.py +185 -0
- aidp_python_client/aidataplatform_dp/models/human_in_the_loop_node.py +185 -0
- aidp_python_client/aidataplatform_dp/models/iam_user_credential_user_setting.py +204 -0
- aidp_python_client/aidataplatform_dp/models/identity_domain_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/identity_domain_summary.py +188 -0
- aidp_python_client/aidataplatform_dp/models/identity_group_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/identity_group_summary.py +101 -0
- aidp_python_client/aidataplatform_dp/models/identity_user_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/identity_user_summary.py +132 -0
- aidp_python_client/aidataplatform_dp/models/if_else_task.py +185 -0
- aidp_python_client/aidataplatform_dp/models/infer_schema.py +70 -0
- aidp_python_client/aidataplatform_dp/models/infer_schema_column.py +163 -0
- aidp_python_client/aidataplatform_dp/models/infer_schema_properties.py +101 -0
- aidp_python_client/aidataplatform_dp/models/infer_schema_with_preview.py +101 -0
- aidp_python_client/aidataplatform_dp/models/init_script_path.py +70 -0
- aidp_python_client/aidataplatform_dp/models/input_tag.py +101 -0
- aidp_python_client/aidataplatform_dp/models/install_cluster_library_details.py +88 -0
- aidp_python_client/aidataplatform_dp/models/is_principal_admin.py +70 -0
- aidp_python_client/aidataplatform_dp/models/is_principal_aidp_admin.py +70 -0
- aidp_python_client/aidataplatform_dp/models/jar_task.py +381 -0
- aidp_python_client/aidataplatform_dp/models/job.py +652 -0
- aidp_python_client/aidataplatform_dp/models/job_cluster.py +128 -0
- aidp_python_client/aidataplatform_dp/models/job_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/job_dependency.py +111 -0
- aidp_python_client/aidataplatform_dp/models/job_permission_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/job_permission_summary.py +207 -0
- aidp_python_client/aidataplatform_dp/models/job_run.py +1178 -0
- aidp_python_client/aidataplatform_dp/models/job_run_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/job_run_summary.py +454 -0
- aidp_python_client/aidataplatform_dp/models/job_summary.py +442 -0
- aidp_python_client/aidataplatform_dp/models/job_task.py +185 -0
- aidp_python_client/aidataplatform_dp/models/kafka_topic_schema.py +258 -0
- aidp_python_client/aidataplatform_dp/models/kafka_topic_schema_summary.py +190 -0
- aidp_python_client/aidataplatform_dp/models/kb_v_hnsw_index_details.py +200 -0
- aidp_python_client/aidataplatform_dp/models/kb_v_ivf_index_details.py +200 -0
- aidp_python_client/aidataplatform_dp/models/kernel.py +242 -0
- aidp_python_client/aidataplatform_dp/models/kernel_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/kernel_summary.py +202 -0
- aidp_python_client/aidataplatform_dp/models/keyed_time_series.py +101 -0
- aidp_python_client/aidataplatform_dp/models/knowledge_base.py +1339 -0
- aidp_python_client/aidataplatform_dp/models/knowledge_base_collection.py +101 -0
- aidp_python_client/aidataplatform_dp/models/knowledge_base_job.py +656 -0
- aidp_python_client/aidataplatform_dp/models/knowledge_base_job_collection.py +101 -0
- aidp_python_client/aidataplatform_dp/models/knowledge_base_job_run.py +502 -0
- aidp_python_client/aidataplatform_dp/models/knowledge_base_job_run_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/knowledge_base_job_run_data.py +211 -0
- aidp_python_client/aidataplatform_dp/models/knowledge_base_job_run_summary.py +502 -0
- aidp_python_client/aidataplatform_dp/models/knowledge_base_job_summary.py +546 -0
- aidp_python_client/aidataplatform_dp/models/knowledge_base_permission_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/knowledge_base_permission_summary.py +274 -0
- aidp_python_client/aidataplatform_dp/models/knowledge_base_source_metadata_details.py +428 -0
- aidp_python_client/aidataplatform_dp/models/knowledge_base_summary.py +452 -0
- aidp_python_client/aidataplatform_dp/models/knowledge_base_vector_index_details.py +141 -0
- aidp_python_client/aidataplatform_dp/models/libraries.py +70 -0
- aidp_python_client/aidataplatform_dp/models/lifecycle_state.py +294 -0
- aidp_python_client/aidataplatform_dp/models/list_experiment_runs_details.py +268 -0
- aidp_python_client/aidataplatform_dp/models/list_experiments_details.py +231 -0
- aidp_python_client/aidataplatform_dp/models/list_filter.py +194 -0
- aidp_python_client/aidataplatform_dp/models/list_logged_models_details.py +196 -0
- aidp_python_client/aidataplatform_dp/models/list_permissions_with_resource_details.py +206 -0
- aidp_python_client/aidataplatform_dp/models/llm_config.py +132 -0
- aidp_python_client/aidataplatform_dp/models/log_experiment_run_batch_details.py +163 -0
- aidp_python_client/aidataplatform_dp/models/log_experiment_run_batch_response_details.py +42 -0
- aidp_python_client/aidataplatform_dp/models/log_experiment_run_inputs_details.py +101 -0
- aidp_python_client/aidataplatform_dp/models/log_experiment_run_inputs_response_details.py +42 -0
- aidp_python_client/aidataplatform_dp/models/log_experiment_run_metric_details.py +194 -0
- aidp_python_client/aidataplatform_dp/models/log_experiment_run_metric_response_details.py +42 -0
- aidp_python_client/aidataplatform_dp/models/log_experiment_run_model_details.py +101 -0
- aidp_python_client/aidataplatform_dp/models/log_experiment_run_model_response_details.py +42 -0
- aidp_python_client/aidataplatform_dp/models/log_experiment_run_param_details.py +132 -0
- aidp_python_client/aidataplatform_dp/models/log_experiment_run_param_response_details.py +42 -0
- aidp_python_client/aidataplatform_dp/models/log_group.py +132 -0
- aidp_python_client/aidataplatform_dp/models/logged_model.py +97 -0
- aidp_python_client/aidataplatform_dp/models/logged_model_collection.py +101 -0
- aidp_python_client/aidataplatform_dp/models/logged_model_info.py +349 -0
- aidp_python_client/aidataplatform_dp/models/logged_model_order.py +101 -0
- aidp_python_client/aidataplatform_dp/models/logged_model_tag.py +101 -0
- aidp_python_client/aidataplatform_dp/models/logging_config.py +99 -0
- aidp_python_client/aidataplatform_dp/models/manage_agent_flow_permission_details.py +93 -0
- aidp_python_client/aidataplatform_dp/models/manage_audit_logs_details.py +118 -0
- aidp_python_client/aidataplatform_dp/models/manage_catalog_permission_details.py +93 -0
- aidp_python_client/aidataplatform_dp/models/manage_cluster_permission_details.py +93 -0
- aidp_python_client/aidataplatform_dp/models/manage_create_workspace_permission_details.py +93 -0
- aidp_python_client/aidataplatform_dp/models/manage_credential_permission_details.py +93 -0
- aidp_python_client/aidataplatform_dp/models/manage_job_permission_details.py +93 -0
- aidp_python_client/aidataplatform_dp/models/manage_knowledge_base_permission_details.py +93 -0
- aidp_python_client/aidataplatform_dp/models/manage_master_catalog_permission_details.py +93 -0
- aidp_python_client/aidataplatform_dp/models/manage_recipient_permission_details.py +93 -0
- aidp_python_client/aidataplatform_dp/models/manage_role_permission_details.py +93 -0
- aidp_python_client/aidataplatform_dp/models/manage_schema_permission_details.py +93 -0
- aidp_python_client/aidataplatform_dp/models/manage_share_access_details.py +118 -0
- aidp_python_client/aidataplatform_dp/models/manage_share_data_asset_details.py +263 -0
- aidp_python_client/aidataplatform_dp/models/manage_share_permission_details.py +93 -0
- aidp_python_client/aidataplatform_dp/models/manage_table_permission_details.py +93 -0
- aidp_python_client/aidataplatform_dp/models/manage_tool_permission_details.py +93 -0
- aidp_python_client/aidataplatform_dp/models/manage_view_permission_details.py +93 -0
- aidp_python_client/aidataplatform_dp/models/manage_volume_permission_details.py +93 -0
- aidp_python_client/aidataplatform_dp/models/manage_workspace_object_permission_details.py +93 -0
- aidp_python_client/aidataplatform_dp/models/manage_workspace_permission_details.py +93 -0
- aidp_python_client/aidataplatform_dp/models/managed_table_definition.py +110 -0
- aidp_python_client/aidataplatform_dp/models/master_catalog.py +357 -0
- aidp_python_client/aidataplatform_dp/models/master_catalog_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/master_catalog_permission_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/master_catalog_permission_summary.py +216 -0
- aidp_python_client/aidataplatform_dp/models/master_catalog_summary.py +351 -0
- aidp_python_client/aidataplatform_dp/models/mcp_object.py +178 -0
- aidp_python_client/aidataplatform_dp/models/mcp_prompt_object.py +94 -0
- aidp_python_client/aidataplatform_dp/models/mcp_resource_object.py +94 -0
- aidp_python_client/aidataplatform_dp/models/mcp_result.py +70 -0
- aidp_python_client/aidataplatform_dp/models/mcp_test_tool_result.py +76 -0
- aidp_python_client/aidataplatform_dp/models/mcp_tool.py +184 -0
- aidp_python_client/aidataplatform_dp/models/mcp_tool_configuration.py +159 -0
- aidp_python_client/aidataplatform_dp/models/mcp_tool_node.py +185 -0
- aidp_python_client/aidataplatform_dp/models/mcp_tool_object.py +94 -0
- aidp_python_client/aidataplatform_dp/models/memory_configuration.py +128 -0
- aidp_python_client/aidataplatform_dp/models/memory_limit_configuration.py +110 -0
- aidp_python_client/aidataplatform_dp/models/memory_limit_configuration_details.py +101 -0
- aidp_python_client/aidataplatform_dp/models/metrics_summary.py +287 -0
- aidp_python_client/aidataplatform_dp/models/mkdir_details.py +101 -0
- aidp_python_client/aidataplatform_dp/models/model.py +470 -0
- aidp_python_client/aidataplatform_dp/models/model_input.py +70 -0
- aidp_python_client/aidataplatform_dp/models/model_metric.py +163 -0
- aidp_python_client/aidataplatform_dp/models/model_output.py +101 -0
- aidp_python_client/aidataplatform_dp/models/model_param.py +101 -0
- aidp_python_client/aidataplatform_dp/models/model_parameter.py +97 -0
- aidp_python_client/aidataplatform_dp/models/model_parameter_detail.py +132 -0
- aidp_python_client/aidataplatform_dp/models/model_parameter_response.py +363 -0
- aidp_python_client/aidataplatform_dp/models/model_summary.py +238 -0
- aidp_python_client/aidataplatform_dp/models/model_version.py +613 -0
- aidp_python_client/aidataplatform_dp/models/model_version_collection.py +101 -0
- aidp_python_client/aidataplatform_dp/models/model_version_deployment_job_state.py +258 -0
- aidp_python_client/aidataplatform_dp/models/model_version_tag.py +101 -0
- aidp_python_client/aidataplatform_dp/models/model_version_tag_key.py +70 -0
- aidp_python_client/aidataplatform_dp/models/models_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/modify_content_details.py +70 -0
- aidp_python_client/aidataplatform_dp/models/move_workspace_object_details.py +101 -0
- aidp_python_client/aidataplatform_dp/models/nested_agent_flow_node.py +243 -0
- aidp_python_client/aidataplatform_dp/models/new_cluster_configuration.py +190 -0
- aidp_python_client/aidataplatform_dp/models/nl_to_sql_tool.py +180 -0
- aidp_python_client/aidataplatform_dp/models/nl_to_sql_tool_configuration.py +225 -0
- aidp_python_client/aidataplatform_dp/models/nl_to_sql_tool_input_schema.py +70 -0
- aidp_python_client/aidataplatform_dp/models/no_auth.py +49 -0
- aidp_python_client/aidataplatform_dp/models/node_input.py +246 -0
- aidp_python_client/aidataplatform_dp/models/node_io.py +158 -0
- aidp_python_client/aidataplatform_dp/models/node_io_color.py +149 -0
- aidp_python_client/aidataplatform_dp/models/node_output.py +215 -0
- aidp_python_client/aidataplatform_dp/models/notebook_task.py +319 -0
- aidp_python_client/aidataplatform_dp/models/notify_cluster_event_handler_details.py +253 -0
- aidp_python_client/aidataplatform_dp/models/o_auth.py +173 -0
- aidp_python_client/aidataplatform_dp/models/o_auth_admin_setting.py +111 -0
- aidp_python_client/aidataplatform_dp/models/o_auth_configuration.py +132 -0
- aidp_python_client/aidataplatform_dp/models/oac_schema.py +134 -0
- aidp_python_client/aidataplatform_dp/models/oac_schema_summary.py +128 -0
- aidp_python_client/aidataplatform_dp/models/oac_table.py +177 -0
- aidp_python_client/aidataplatform_dp/models/oac_table_summary.py +107 -0
- aidp_python_client/aidataplatform_dp/models/object_recent_search_summary.py +70 -0
- aidp_python_client/aidataplatform_dp/models/object_search_summary.py +516 -0
- aidp_python_client/aidataplatform_dp/models/object_suggest_summary.py +287 -0
- aidp_python_client/aidataplatform_dp/models/oci_logging.py +80 -0
- aidp_python_client/aidataplatform_dp/models/oci_resource_principal_auth.py +49 -0
- aidp_python_client/aidataplatform_dp/models/oracle_schema.py +134 -0
- aidp_python_client/aidataplatform_dp/models/oracle_schema_summary.py +128 -0
- aidp_python_client/aidataplatform_dp/models/oracle_table.py +177 -0
- aidp_python_client/aidataplatform_dp/models/oracle_table_summary.py +107 -0
- aidp_python_client/aidataplatform_dp/models/output_parameter.py +101 -0
- aidp_python_client/aidataplatform_dp/models/par_details.py +195 -0
- aidp_python_client/aidataplatform_dp/models/parameter.py +101 -0
- aidp_python_client/aidataplatform_dp/models/patch_cluster_library_details.py +70 -0
- aidp_python_client/aidataplatform_dp/models/patch_session_details.py +252 -0
- aidp_python_client/aidataplatform_dp/models/perform_infer_schema_details.py +204 -0
- aidp_python_client/aidataplatform_dp/models/permission_assignees.py +122 -0
- aidp_python_client/aidataplatform_dp/models/permission_summary.py +274 -0
- aidp_python_client/aidataplatform_dp/models/permission_with_resource_details.py +288 -0
- aidp_python_client/aidataplatform_dp/models/pii_category.py +209 -0
- aidp_python_client/aidataplatform_dp/models/pii_detection_policy.py +148 -0
- aidp_python_client/aidataplatform_dp/models/playground_cache.py +70 -0
- aidp_python_client/aidataplatform_dp/models/point.py +101 -0
- aidp_python_client/aidataplatform_dp/models/preview_agent_flow_agent_card_details.py +66 -0
- aidp_python_client/aidataplatform_dp/models/principals_with_workspace_access_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/principals_with_workspace_access_summary.py +153 -0
- aidp_python_client/aidataplatform_dp/models/prompt_attacks_prevention_policy.py +86 -0
- aidp_python_client/aidataplatform_dp/models/prompt_result.py +101 -0
- aidp_python_client/aidataplatform_dp/models/prompt_test_tool_result.py +76 -0
- aidp_python_client/aidataplatform_dp/models/prompt_tool.py +184 -0
- aidp_python_client/aidataplatform_dp/models/prompt_tool_configuration.py +128 -0
- aidp_python_client/aidataplatform_dp/models/prompt_tool_node.py +185 -0
- aidp_python_client/aidataplatform_dp/models/provision_user_schema_details.py +110 -0
- aidp_python_client/aidataplatform_dp/models/purge_bundle_details.py +70 -0
- aidp_python_client/aidataplatform_dp/models/python_task.py +319 -0
- aidp_python_client/aidataplatform_dp/models/queue.py +70 -0
- aidp_python_client/aidataplatform_dp/models/rag_result.py +101 -0
- aidp_python_client/aidataplatform_dp/models/rag_test_tool_result.py +76 -0
- aidp_python_client/aidataplatform_dp/models/rag_tool.py +180 -0
- aidp_python_client/aidataplatform_dp/models/rag_tool_configuration.py +221 -0
- aidp_python_client/aidataplatform_dp/models/rag_tool_input_schema.py +70 -0
- aidp_python_client/aidataplatform_dp/models/rag_tool_node.py +181 -0
- aidp_python_client/aidataplatform_dp/models/range_filter.py +201 -0
- aidp_python_client/aidataplatform_dp/models/recent_resource_item.py +283 -0
- aidp_python_client/aidataplatform_dp/models/recent_search_results_collection.py +101 -0
- aidp_python_client/aidataplatform_dp/models/recent_searches_criteria.py +70 -0
- aidp_python_client/aidataplatform_dp/models/recently_accessed.py +101 -0
- aidp_python_client/aidataplatform_dp/models/recently_accessed_resource.py +101 -0
- aidp_python_client/aidataplatform_dp/models/recipient.py +402 -0
- aidp_python_client/aidataplatform_dp/models/recipient_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/recipient_permission_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/recipient_permission_summary.py +203 -0
- aidp_python_client/aidataplatform_dp/models/recipient_summary.py +369 -0
- aidp_python_client/aidataplatform_dp/models/registered_model.py +346 -0
- aidp_python_client/aidataplatform_dp/models/registered_model_alias.py +101 -0
- aidp_python_client/aidataplatform_dp/models/registered_model_collection.py +101 -0
- aidp_python_client/aidataplatform_dp/models/registered_model_tag.py +101 -0
- aidp_python_client/aidataplatform_dp/models/registered_model_tag_key.py +70 -0
- aidp_python_client/aidataplatform_dp/models/remove_member_from_role_details.py +70 -0
- aidp_python_client/aidataplatform_dp/models/rename_registered_model_details.py +101 -0
- aidp_python_client/aidataplatform_dp/models/rename_registered_model_response_details.py +66 -0
- aidp_python_client/aidataplatform_dp/models/rename_table_field_details.py +101 -0
- aidp_python_client/aidataplatform_dp/models/rename_workspace_object_details.py +101 -0
- aidp_python_client/aidataplatform_dp/models/repair_history.py +361 -0
- aidp_python_client/aidataplatform_dp/models/repair_job_run_details.py +101 -0
- aidp_python_client/aidataplatform_dp/models/reset_git_folder_state_details.py +157 -0
- aidp_python_client/aidataplatform_dp/models/restart_cluster_details.py +42 -0
- aidp_python_client/aidataplatform_dp/models/restore_experiment_details.py +70 -0
- aidp_python_client/aidataplatform_dp/models/restore_experiment_response_details.py +42 -0
- aidp_python_client/aidataplatform_dp/models/restore_experiment_run_details.py +70 -0
- aidp_python_client/aidataplatform_dp/models/restore_experiment_run_response_details.py +42 -0
- aidp_python_client/aidataplatform_dp/models/retrieved_chunk.py +132 -0
- aidp_python_client/aidataplatform_dp/models/revoke_agent_flow_permission_details.py +187 -0
- aidp_python_client/aidataplatform_dp/models/revoke_catalog_permission_details.py +125 -0
- aidp_python_client/aidataplatform_dp/models/revoke_cluster_permission_details.py +121 -0
- aidp_python_client/aidataplatform_dp/models/revoke_create_workspace_permission_details.py +66 -0
- aidp_python_client/aidataplatform_dp/models/revoke_credential_permission_details.py +125 -0
- aidp_python_client/aidataplatform_dp/models/revoke_job_permission_details.py +125 -0
- aidp_python_client/aidataplatform_dp/models/revoke_knowledge_base_permission_details.py +121 -0
- aidp_python_client/aidataplatform_dp/models/revoke_master_catalog_permission_details.py +129 -0
- aidp_python_client/aidataplatform_dp/models/revoke_recipient_permission_details.py +121 -0
- aidp_python_client/aidataplatform_dp/models/revoke_role_permission_details.py +70 -0
- aidp_python_client/aidataplatform_dp/models/revoke_schema_permission_details.py +137 -0
- aidp_python_client/aidataplatform_dp/models/revoke_share_permission_details.py +121 -0
- aidp_python_client/aidataplatform_dp/models/revoke_table_permission_details.py +195 -0
- aidp_python_client/aidataplatform_dp/models/revoke_tool_permission_details.py +183 -0
- aidp_python_client/aidataplatform_dp/models/revoke_view_permission_details.py +183 -0
- aidp_python_client/aidataplatform_dp/models/revoke_volume_permission_details.py +121 -0
- aidp_python_client/aidataplatform_dp/models/revoke_workspace_object_permission_details.py +156 -0
- aidp_python_client/aidataplatform_dp/models/revoke_workspace_permission_details.py +121 -0
- aidp_python_client/aidataplatform_dp/models/role.py +439 -0
- aidp_python_client/aidataplatform_dp/models/role_assignee.py +152 -0
- aidp_python_client/aidataplatform_dp/models/role_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/role_permission_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/role_permission_summary.py +128 -0
- aidp_python_client/aidataplatform_dp/models/role_summary.py +396 -0
- aidp_python_client/aidataplatform_dp/models/run_output_data.py +313 -0
- aidp_python_client/aidataplatform_dp/models/safety_policy.py +337 -0
- aidp_python_client/aidataplatform_dp/models/scan.py +101 -0
- aidp_python_client/aidataplatform_dp/models/schedule.py +148 -0
- aidp_python_client/aidataplatform_dp/models/schema.py +551 -0
- aidp_python_client/aidataplatform_dp/models/schema_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/schema_permission_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/schema_permission_summary.py +285 -0
- aidp_python_client/aidataplatform_dp/models/schema_summary.py +536 -0
- aidp_python_client/aidataplatform_dp/models/search_audit_logs_details.py +626 -0
- aidp_python_client/aidataplatform_dp/models/search_cluster_logs_details.py +437 -0
- aidp_python_client/aidataplatform_dp/models/search_criteria.py +221 -0
- aidp_python_client/aidataplatform_dp/models/search_object_type.py +101 -0
- aidp_python_client/aidataplatform_dp/models/search_result.py +70 -0
- aidp_python_client/aidataplatform_dp/models/search_result_summary.py +101 -0
- aidp_python_client/aidataplatform_dp/models/search_results_collection.py +163 -0
- aidp_python_client/aidataplatform_dp/models/search_results_group_by_collection.py +163 -0
- aidp_python_client/aidataplatform_dp/models/secret_pair.py +101 -0
- aidp_python_client/aidataplatform_dp/models/secret_token_credential_details.py +81 -0
- aidp_python_client/aidataplatform_dp/models/service_account_credential_details.py +236 -0
- aidp_python_client/aidataplatform_dp/models/session.py +324 -0
- aidp_python_client/aidataplatform_dp/models/session_chat_history_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/session_chat_history_summary.py +287 -0
- aidp_python_client/aidataplatform_dp/models/session_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/session_configuration.py +97 -0
- aidp_python_client/aidataplatform_dp/models/session_retention_configuration.py +132 -0
- aidp_python_client/aidataplatform_dp/models/session_summary.py +283 -0
- aidp_python_client/aidataplatform_dp/models/session_variable.py +101 -0
- aidp_python_client/aidataplatform_dp/models/session_variable_details.py +225 -0
- aidp_python_client/aidataplatform_dp/models/set_experiment_run_tag_details.py +132 -0
- aidp_python_client/aidataplatform_dp/models/set_experiment_run_tag_response_details.py +42 -0
- aidp_python_client/aidataplatform_dp/models/set_experiment_tag_details.py +132 -0
- aidp_python_client/aidataplatform_dp/models/set_experiment_tag_response_details.py +42 -0
- aidp_python_client/aidataplatform_dp/models/set_model_version_tag_details.py +163 -0
- aidp_python_client/aidataplatform_dp/models/set_model_version_tag_response_details.py +42 -0
- aidp_python_client/aidataplatform_dp/models/set_registered_model_tag_details.py +132 -0
- aidp_python_client/aidataplatform_dp/models/set_registered_model_tag_response_details.py +42 -0
- aidp_python_client/aidataplatform_dp/models/setting.py +159 -0
- aidp_python_client/aidataplatform_dp/models/setting_data.py +115 -0
- aidp_python_client/aidataplatform_dp/models/shape_config.py +132 -0
- aidp_python_client/aidataplatform_dp/models/share.py +396 -0
- aidp_python_client/aidataplatform_dp/models/share_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/share_data_asset_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/share_data_asset_summary.py +311 -0
- aidp_python_client/aidataplatform_dp/models/share_permission_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/share_permission_summary.py +203 -0
- aidp_python_client/aidataplatform_dp/models/share_summary.py +365 -0
- aidp_python_client/aidataplatform_dp/models/sort_details.py +143 -0
- aidp_python_client/aidataplatform_dp/models/span_details.py +345 -0
- aidp_python_client/aidataplatform_dp/models/span_status.py +101 -0
- aidp_python_client/aidataplatform_dp/models/spark_cluster.py +497 -0
- aidp_python_client/aidataplatform_dp/models/spark_runtime_config.py +155 -0
- aidp_python_client/aidataplatform_dp/models/sql_result.py +70 -0
- aidp_python_client/aidataplatform_dp/models/sql_test_tool_result.py +76 -0
- aidp_python_client/aidataplatform_dp/models/sql_tool.py +184 -0
- aidp_python_client/aidataplatform_dp/models/sql_tool_configuration.py +194 -0
- aidp_python_client/aidataplatform_dp/models/sql_tool_node.py +185 -0
- aidp_python_client/aidataplatform_dp/models/standard_schema.py +134 -0
- aidp_python_client/aidataplatform_dp/models/standard_schema_summary.py +128 -0
- aidp_python_client/aidataplatform_dp/models/standard_table.py +177 -0
- aidp_python_client/aidataplatform_dp/models/standard_table_summary.py +107 -0
- aidp_python_client/aidataplatform_dp/models/start_cluster_details.py +42 -0
- aidp_python_client/aidataplatform_dp/models/start_node.py +185 -0
- aidp_python_client/aidataplatform_dp/models/state.py +231 -0
- aidp_python_client/aidataplatform_dp/models/stop_agent_flow_session_details.py +42 -0
- aidp_python_client/aidataplatform_dp/models/stop_cluster_details.py +42 -0
- aidp_python_client/aidataplatform_dp/models/subscription_details.py +101 -0
- aidp_python_client/aidataplatform_dp/models/suggest_criteria.py +101 -0
- aidp_python_client/aidataplatform_dp/models/suggest_results_collection.py +132 -0
- aidp_python_client/aidataplatform_dp/models/summarize_metrics_data_details.py +308 -0
- aidp_python_client/aidataplatform_dp/models/summarize_metrics_response.py +70 -0
- aidp_python_client/aidataplatform_dp/models/supervisor_agent_node.py +363 -0
- aidp_python_client/aidataplatform_dp/models/sync_bundle_details.py +70 -0
- aidp_python_client/aidataplatform_dp/models/table.py +737 -0
- aidp_python_client/aidataplatform_dp/models/table_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/table_field_details.py +194 -0
- aidp_python_client/aidataplatform_dp/models/table_permission_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/table_permission_summary.py +347 -0
- aidp_python_client/aidataplatform_dp/models/table_property.py +101 -0
- aidp_python_client/aidataplatform_dp/models/table_summary.py +435 -0
- aidp_python_client/aidataplatform_dp/models/task.py +357 -0
- aidp_python_client/aidataplatform_dp/models/task_execution_result.py +221 -0
- aidp_python_client/aidataplatform_dp/models/task_run.py +771 -0
- aidp_python_client/aidataplatform_dp/models/task_run_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/task_run_output.py +288 -0
- aidp_python_client/aidataplatform_dp/models/task_run_retry.py +345 -0
- aidp_python_client/aidataplatform_dp/models/task_run_summary.py +407 -0
- aidp_python_client/aidataplatform_dp/models/test_custom_tool_details.py +141 -0
- aidp_python_client/aidataplatform_dp/models/test_http_tool_details.py +110 -0
- aidp_python_client/aidataplatform_dp/models/test_mcp_connection.py +49 -0
- aidp_python_client/aidataplatform_dp/models/test_mcp_external_tool.py +107 -0
- aidp_python_client/aidataplatform_dp/models/test_mcp_operation.py +108 -0
- aidp_python_client/aidataplatform_dp/models/test_mcp_tool_details.py +168 -0
- aidp_python_client/aidataplatform_dp/models/test_prompt_tool_details.py +110 -0
- aidp_python_client/aidataplatform_dp/models/test_rag_tool_details.py +114 -0
- aidp_python_client/aidataplatform_dp/models/test_sql_tool_details.py +110 -0
- aidp_python_client/aidataplatform_dp/models/test_tool_details.py +171 -0
- aidp_python_client/aidataplatform_dp/models/test_tool_param_values.py +70 -0
- aidp_python_client/aidataplatform_dp/models/test_tool_result.py +140 -0
- aidp_python_client/aidataplatform_dp/models/time_created.py +42 -0
- aidp_python_client/aidataplatform_dp/models/time_updated.py +42 -0
- aidp_python_client/aidataplatform_dp/models/tool.py +489 -0
- aidp_python_client/aidataplatform_dp/models/tool_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/tool_permission_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/tool_permission_summary.py +332 -0
- aidp_python_client/aidataplatform_dp/models/tool_summary.py +355 -0
- aidp_python_client/aidataplatform_dp/models/trace_details.py +225 -0
- aidp_python_client/aidataplatform_dp/models/trace_event.py +132 -0
- aidp_python_client/aidataplatform_dp/models/transition_model_version_stage_details.py +163 -0
- aidp_python_client/aidataplatform_dp/models/transition_model_version_stage_response_details.py +66 -0
- aidp_python_client/aidataplatform_dp/models/txt_file_definition.py +101 -0
- aidp_python_client/aidataplatform_dp/models/uninstall_cluster_library_details.py +88 -0
- aidp_python_client/aidataplatform_dp/models/update_admin_setting_details.py +128 -0
- aidp_python_client/aidataplatform_dp/models/update_agent_flow_compute_details.py +77 -0
- aidp_python_client/aidataplatform_dp/models/update_agent_flow_deployment_details.py +242 -0
- aidp_python_client/aidataplatform_dp/models/update_agent_flow_deployment_metadata_details.py +97 -0
- aidp_python_client/aidataplatform_dp/models/update_agent_flow_details.py +395 -0
- aidp_python_client/aidataplatform_dp/models/update_agent_flow_node_details.py +451 -0
- aidp_python_client/aidataplatform_dp/models/update_agent_flow_session_details.py +159 -0
- aidp_python_client/aidataplatform_dp/models/update_agent_flow_session_playground_cache_details.py +70 -0
- aidp_python_client/aidataplatform_dp/models/update_agent_node_details.py +259 -0
- aidp_python_client/aidataplatform_dp/models/update_catalog_details.py +159 -0
- aidp_python_client/aidataplatform_dp/models/update_cluster_async_operation_status_details.py +293 -0
- aidp_python_client/aidataplatform_dp/models/update_cluster_details.py +228 -0
- aidp_python_client/aidataplatform_dp/models/update_connection_details.py +70 -0
- aidp_python_client/aidataplatform_dp/models/update_content_details.py +252 -0
- aidp_python_client/aidataplatform_dp/models/update_custom_tool_details.py +190 -0
- aidp_python_client/aidataplatform_dp/models/update_custom_tool_node_details.py +201 -0
- aidp_python_client/aidataplatform_dp/models/update_data_lake_credential_details.py +180 -0
- aidp_python_client/aidataplatform_dp/models/update_dir_details.py +70 -0
- aidp_python_client/aidataplatform_dp/models/update_experiment_details.py +101 -0
- aidp_python_client/aidataplatform_dp/models/update_experiment_response_details.py +42 -0
- aidp_python_client/aidataplatform_dp/models/update_experiment_run_details.py +196 -0
- aidp_python_client/aidataplatform_dp/models/update_experiment_run_response_details.py +66 -0
- aidp_python_client/aidataplatform_dp/models/update_experiment_run_tags_details.py +132 -0
- aidp_python_client/aidataplatform_dp/models/update_experiment_run_tags_response_details.py +42 -0
- aidp_python_client/aidataplatform_dp/models/update_experiment_tags_details.py +132 -0
- aidp_python_client/aidataplatform_dp/models/update_experiment_tags_response_details.py +42 -0
- aidp_python_client/aidataplatform_dp/models/update_file_metadata_details.py +126 -0
- aidp_python_client/aidataplatform_dp/models/update_git_repository_details.py +132 -0
- aidp_python_client/aidataplatform_dp/models/update_http_tool_details.py +128 -0
- aidp_python_client/aidataplatform_dp/models/update_http_tool_node_details.py +143 -0
- aidp_python_client/aidataplatform_dp/models/update_job_details.py +426 -0
- aidp_python_client/aidataplatform_dp/models/update_knowledge_base_add_source_details.py +366 -0
- aidp_python_client/aidataplatform_dp/models/update_knowledge_base_delete_source_details.py +118 -0
- aidp_python_client/aidataplatform_dp/models/update_knowledge_base_details.py +176 -0
- aidp_python_client/aidataplatform_dp/models/update_knowledge_base_metadata_update_details.py +101 -0
- aidp_python_client/aidataplatform_dp/models/update_knowledge_base_source_update_details.py +70 -0
- aidp_python_client/aidataplatform_dp/models/update_knowledge_base_source_update_details_item.py +141 -0
- aidp_python_client/aidataplatform_dp/models/update_master_catalog_details.py +70 -0
- aidp_python_client/aidataplatform_dp/models/update_mcp_tool_node_details.py +143 -0
- aidp_python_client/aidataplatform_dp/models/update_model_version_details.py +132 -0
- aidp_python_client/aidataplatform_dp/models/update_model_version_response_details.py +66 -0
- aidp_python_client/aidataplatform_dp/models/update_model_version_tags_details.py +163 -0
- aidp_python_client/aidataplatform_dp/models/update_model_version_tags_response_details.py +42 -0
- aidp_python_client/aidataplatform_dp/models/update_nl_to_sql_tool_details.py +124 -0
- aidp_python_client/aidataplatform_dp/models/update_prompt_tool_details.py +128 -0
- aidp_python_client/aidataplatform_dp/models/update_prompt_tool_node_details.py +143 -0
- aidp_python_client/aidataplatform_dp/models/update_rag_tool_details.py +124 -0
- aidp_python_client/aidataplatform_dp/models/update_rag_tool_node_details.py +139 -0
- aidp_python_client/aidataplatform_dp/models/update_recipient_details.py +134 -0
- aidp_python_client/aidataplatform_dp/models/update_registered_model_details.py +132 -0
- aidp_python_client/aidataplatform_dp/models/update_registered_model_response_details.py +66 -0
- aidp_python_client/aidataplatform_dp/models/update_registered_model_tags_details.py +132 -0
- aidp_python_client/aidataplatform_dp/models/update_registered_model_tags_response_details.py +42 -0
- aidp_python_client/aidataplatform_dp/models/update_role_details.py +101 -0
- aidp_python_client/aidataplatform_dp/models/update_schema_details.py +132 -0
- aidp_python_client/aidataplatform_dp/models/update_setting_details.py +128 -0
- aidp_python_client/aidataplatform_dp/models/update_share_details.py +101 -0
- aidp_python_client/aidataplatform_dp/models/update_spark_cluster_details.py +216 -0
- aidp_python_client/aidataplatform_dp/models/update_sql_tool_details.py +128 -0
- aidp_python_client/aidataplatform_dp/models/update_sql_tool_node_details.py +143 -0
- aidp_python_client/aidataplatform_dp/models/update_table_details.py +287 -0
- aidp_python_client/aidataplatform_dp/models/update_table_field_details.py +101 -0
- aidp_python_client/aidataplatform_dp/models/update_tool_details.py +237 -0
- aidp_python_client/aidataplatform_dp/models/update_user_setting_details.py +128 -0
- aidp_python_client/aidataplatform_dp/models/update_view_details.py +130 -0
- aidp_python_client/aidataplatform_dp/models/update_volume_details.py +101 -0
- aidp_python_client/aidataplatform_dp/models/update_workspace_async_operation_status_details.py +196 -0
- aidp_python_client/aidataplatform_dp/models/update_workspace_details.py +165 -0
- aidp_python_client/aidataplatform_dp/models/upload_file_with_par_details.py +188 -0
- aidp_python_client/aidataplatform_dp/models/upload_file_with_par_result.py +353 -0
- aidp_python_client/aidataplatform_dp/models/user_setting.py +159 -0
- aidp_python_client/aidataplatform_dp/models/user_setting_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/user_setting_summary.py +276 -0
- aidp_python_client/aidataplatform_dp/models/validate_agent_flow_diagram_details.py +203 -0
- aidp_python_client/aidataplatform_dp/models/validate_agent_flow_response.py +101 -0
- aidp_python_client/aidataplatform_dp/models/validate_bundle_details.py +70 -0
- aidp_python_client/aidataplatform_dp/models/validate_view_sql_details.py +70 -0
- aidp_python_client/aidataplatform_dp/models/validation_error.py +163 -0
- aidp_python_client/aidataplatform_dp/models/vault_reference_credential_details.py +81 -0
- aidp_python_client/aidataplatform_dp/models/view.py +489 -0
- aidp_python_client/aidataplatform_dp/models/view_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/view_field_details.py +194 -0
- aidp_python_client/aidataplatform_dp/models/view_permission_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/view_permission_summary.py +347 -0
- aidp_python_client/aidataplatform_dp/models/view_property.py +101 -0
- aidp_python_client/aidataplatform_dp/models/view_sql_parse_details.py +132 -0
- aidp_python_client/aidataplatform_dp/models/view_summary.py +303 -0
- aidp_python_client/aidataplatform_dp/models/view_update_details.py +225 -0
- aidp_python_client/aidataplatform_dp/models/volume.py +559 -0
- aidp_python_client/aidataplatform_dp/models/volume_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/volume_file.py +42 -0
- aidp_python_client/aidataplatform_dp/models/volume_file_cluster_library_summary.py +139 -0
- aidp_python_client/aidataplatform_dp/models/volume_file_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/volume_file_summary.py +408 -0
- aidp_python_client/aidataplatform_dp/models/volume_permission_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/volume_permission_summary.py +273 -0
- aidp_python_client/aidataplatform_dp/models/volume_summary.py +435 -0
- aidp_python_client/aidataplatform_dp/models/word_filters_policy.py +148 -0
- aidp_python_client/aidataplatform_dp/models/worker_config.py +159 -0
- aidp_python_client/aidataplatform_dp/models/workspace.py +665 -0
- aidp_python_client/aidataplatform_dp/models/workspace_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/workspace_file_cluster_library_summary.py +139 -0
- aidp_python_client/aidataplatform_dp/models/workspace_network_configuration_details.py +134 -0
- aidp_python_client/aidataplatform_dp/models/workspace_object.py +42 -0
- aidp_python_client/aidataplatform_dp/models/workspace_object_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/workspace_object_details.py +342 -0
- aidp_python_client/aidataplatform_dp/models/workspace_object_permission_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/workspace_object_permission_summary.py +238 -0
- aidp_python_client/aidataplatform_dp/models/workspace_object_search_results_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/workspace_object_search_summary.py +423 -0
- aidp_python_client/aidataplatform_dp/models/workspace_object_summary.py +392 -0
- aidp_python_client/aidataplatform_dp/models/workspace_permission_collection.py +70 -0
- aidp_python_client/aidataplatform_dp/models/workspace_permission_summary.py +203 -0
- aidp_python_client/aidataplatform_dp/models/workspace_search_criteria.py +252 -0
- aidp_python_client/aidataplatform_dp/models/workspace_summary.py +567 -0
- aidp_python_client/aidataplatform_dp/notebook_client.py +1199 -0
- aidp_python_client/aidataplatform_dp/notebook_client_composite_operations.py +70 -0
- aidp_python_client/aidataplatform_dp/role_client.py +965 -0
- aidp_python_client/aidataplatform_dp/role_client_composite_operations.py +113 -0
- aidp_python_client/aidataplatform_dp/schema_client.py +3023 -0
- aidp_python_client/aidataplatform_dp/schema_client_composite_operations.py +159 -0
- aidp_python_client/aidataplatform_dp/user_setting_client.py +610 -0
- aidp_python_client/aidataplatform_dp/user_setting_client_composite_operations.py +24 -0
- aidp_python_client/aidataplatform_dp/volume_client.py +1838 -0
- aidp_python_client/aidataplatform_dp/volume_client_composite_operations.py +113 -0
- aidp_python_client/aidataplatform_dp/workflow_client.py +2220 -0
- aidp_python_client/aidataplatform_dp/workflow_client_composite_operations.py +24 -0
- aidp_python_client/aidataplatform_dp/workspace_client.py +1294 -0
- aidp_python_client/aidataplatform_dp/workspace_client_composite_operations.py +162 -0
- aidp_python_client/aidataplatform_dp/workspace_object_client.py +1595 -0
- aidp_python_client/aidataplatform_dp/workspace_object_client_composite_operations.py +24 -0
- aidp_python_client/service_endpoints.py +22 -0
- aidp_python_client-1.0.0.dist-info/METADATA +9 -0
- aidp_python_client-1.0.0.dist-info/RECORD +847 -0
- aidp_python_client-1.0.0.dist-info/WHEEL +5 -0
- aidp_python_client-1.0.0.dist-info/licenses/LICENSE.txt +35 -0
- aidp_python_client-1.0.0.dist-info/licenses/NOTICE.txt +1 -0
- aidp_python_client-1.0.0.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,3023 @@
|
|
|
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 SchemaClient(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("schema", 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_data_table(self, ai_data_platform_id, create_data_table_details, **kwargs):
|
|
89
|
+
"""
|
|
90
|
+
Creates a managed table with data loaded from a sample file.
|
|
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 oci.aidataplatform_dp.models.CreateDataTableDetails create_data_table_details: (required)
|
|
99
|
+
Details for the new managed table with data.
|
|
100
|
+
|
|
101
|
+
:param str opc_retry_token: (optional)
|
|
102
|
+
A token that uniquely identifies a request so it can be retried in case of a timeout or
|
|
103
|
+
server error without risk of running that same action again. Retry tokens expire after 24
|
|
104
|
+
hours, but can be invalidated before then due to conflicting operations. For example, if a resource
|
|
105
|
+
has been deleted and removed from the system, then a retry of the original creation request
|
|
106
|
+
might be rejected.
|
|
107
|
+
|
|
108
|
+
:param str opc_request_id: (optional)
|
|
109
|
+
Unique Oracle-assigned identifier for the request. If you need to contact
|
|
110
|
+
Oracle about a particular request, please provide the request ID.
|
|
111
|
+
The only valid characters for request IDs are letters, numbers,
|
|
112
|
+
underscore, and dash.
|
|
113
|
+
|
|
114
|
+
:param bool should_update_recent: (optional)
|
|
115
|
+
A flag to identify if the recent list should be updated.
|
|
116
|
+
|
|
117
|
+
:param obj retry_strategy: (optional)
|
|
118
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
|
119
|
+
|
|
120
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
|
|
121
|
+
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>`__.
|
|
122
|
+
|
|
123
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
|
124
|
+
|
|
125
|
+
:return: A :class:`~oci.response.Response` object with data of type None
|
|
126
|
+
:rtype: :class:`~oci.response.Response`
|
|
127
|
+
"""
|
|
128
|
+
resource_path = "/aiDataPlatforms/{aiDataPlatformId}/dataTables"
|
|
129
|
+
method = "POST"
|
|
130
|
+
|
|
131
|
+
# Don't accept unknown kwargs
|
|
132
|
+
expected_kwargs = [
|
|
133
|
+
"retry_strategy",
|
|
134
|
+
"opc_retry_token",
|
|
135
|
+
"opc_request_id",
|
|
136
|
+
"should_update_recent"
|
|
137
|
+
]
|
|
138
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
|
139
|
+
if extra_kwargs:
|
|
140
|
+
raise ValueError(
|
|
141
|
+
"create_data_table got unknown kwargs: {!r}".format(extra_kwargs))
|
|
142
|
+
|
|
143
|
+
path_params = {
|
|
144
|
+
"aiDataPlatformId": ai_data_platform_id
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
|
148
|
+
|
|
149
|
+
for (k, v) in six.iteritems(path_params):
|
|
150
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
|
151
|
+
raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
|
|
152
|
+
|
|
153
|
+
header_params = {
|
|
154
|
+
"accept": "application/json",
|
|
155
|
+
"content-type": "application/json",
|
|
156
|
+
"opc-retry-token": kwargs.get("opc_retry_token", missing),
|
|
157
|
+
"opc-request-id": kwargs.get("opc_request_id", missing),
|
|
158
|
+
"should-update-recent": kwargs.get("should_update_recent", missing)
|
|
159
|
+
}
|
|
160
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
|
161
|
+
|
|
162
|
+
retry_strategy = self.retry_strategy
|
|
163
|
+
if kwargs.get('retry_strategy'):
|
|
164
|
+
retry_strategy = kwargs.get('retry_strategy')
|
|
165
|
+
|
|
166
|
+
if retry_strategy:
|
|
167
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
|
168
|
+
self.base_client.add_opc_retry_token_if_needed(header_params)
|
|
169
|
+
return retry_strategy.make_retrying_call(
|
|
170
|
+
self.base_client.call_api,
|
|
171
|
+
resource_path=resource_path,
|
|
172
|
+
method=method,
|
|
173
|
+
path_params=path_params,
|
|
174
|
+
header_params=header_params,
|
|
175
|
+
body=create_data_table_details)
|
|
176
|
+
else:
|
|
177
|
+
return self.base_client.call_api(
|
|
178
|
+
resource_path=resource_path,
|
|
179
|
+
method=method,
|
|
180
|
+
path_params=path_params,
|
|
181
|
+
header_params=header_params,
|
|
182
|
+
body=create_data_table_details)
|
|
183
|
+
|
|
184
|
+
def create_schema(self, ai_data_platform_id, create_schema_details, **kwargs):
|
|
185
|
+
"""
|
|
186
|
+
Creates a schema.
|
|
187
|
+
|
|
188
|
+
|
|
189
|
+
:param str ai_data_platform_id: (required)
|
|
190
|
+
The `OCID`__ of the AI Data Platform (Data Lake) instance.
|
|
191
|
+
|
|
192
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
|
193
|
+
|
|
194
|
+
:param oci.aidataplatform_dp.models.CreateSchemaDetails create_schema_details: (required)
|
|
195
|
+
Details for the new schema.
|
|
196
|
+
|
|
197
|
+
:param str opc_retry_token: (optional)
|
|
198
|
+
A token that uniquely identifies a request so it can be retried in case of a timeout or
|
|
199
|
+
server error without risk of running that same action again. Retry tokens expire after 24
|
|
200
|
+
hours, but can be invalidated before then due to conflicting operations. For example, if a resource
|
|
201
|
+
has been deleted and removed from the system, then a retry of the original creation request
|
|
202
|
+
might be rejected.
|
|
203
|
+
|
|
204
|
+
:param str opc_request_id: (optional)
|
|
205
|
+
Unique Oracle-assigned identifier for the request. If you need to contact
|
|
206
|
+
Oracle about a particular request, please provide the request ID.
|
|
207
|
+
The only valid characters for request IDs are letters, numbers,
|
|
208
|
+
underscore, and dash.
|
|
209
|
+
|
|
210
|
+
:param bool should_update_recent: (optional)
|
|
211
|
+
A flag to identify if the recent list should be updated.
|
|
212
|
+
|
|
213
|
+
:param obj retry_strategy: (optional)
|
|
214
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
|
215
|
+
|
|
216
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
|
|
217
|
+
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>`__.
|
|
218
|
+
|
|
219
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
|
220
|
+
|
|
221
|
+
:return: A :class:`~oci.response.Response` object with data of type None
|
|
222
|
+
:rtype: :class:`~oci.response.Response`
|
|
223
|
+
"""
|
|
224
|
+
resource_path = "/aiDataPlatforms/{aiDataPlatformId}/schemas"
|
|
225
|
+
method = "POST"
|
|
226
|
+
|
|
227
|
+
# Don't accept unknown kwargs
|
|
228
|
+
expected_kwargs = [
|
|
229
|
+
"retry_strategy",
|
|
230
|
+
"opc_retry_token",
|
|
231
|
+
"opc_request_id",
|
|
232
|
+
"should_update_recent"
|
|
233
|
+
]
|
|
234
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
|
235
|
+
if extra_kwargs:
|
|
236
|
+
raise ValueError(
|
|
237
|
+
"create_schema got unknown kwargs: {!r}".format(extra_kwargs))
|
|
238
|
+
|
|
239
|
+
path_params = {
|
|
240
|
+
"aiDataPlatformId": ai_data_platform_id
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
|
244
|
+
|
|
245
|
+
for (k, v) in six.iteritems(path_params):
|
|
246
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
|
247
|
+
raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
|
|
248
|
+
|
|
249
|
+
header_params = {
|
|
250
|
+
"accept": "application/json",
|
|
251
|
+
"content-type": "application/json",
|
|
252
|
+
"opc-retry-token": kwargs.get("opc_retry_token", missing),
|
|
253
|
+
"opc-request-id": kwargs.get("opc_request_id", missing),
|
|
254
|
+
"should-update-recent": kwargs.get("should_update_recent", missing)
|
|
255
|
+
}
|
|
256
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
|
257
|
+
|
|
258
|
+
retry_strategy = self.retry_strategy
|
|
259
|
+
if kwargs.get('retry_strategy'):
|
|
260
|
+
retry_strategy = kwargs.get('retry_strategy')
|
|
261
|
+
|
|
262
|
+
if retry_strategy:
|
|
263
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
|
264
|
+
self.base_client.add_opc_retry_token_if_needed(header_params)
|
|
265
|
+
return retry_strategy.make_retrying_call(
|
|
266
|
+
self.base_client.call_api,
|
|
267
|
+
resource_path=resource_path,
|
|
268
|
+
method=method,
|
|
269
|
+
path_params=path_params,
|
|
270
|
+
header_params=header_params,
|
|
271
|
+
body=create_schema_details)
|
|
272
|
+
else:
|
|
273
|
+
return self.base_client.call_api(
|
|
274
|
+
resource_path=resource_path,
|
|
275
|
+
method=method,
|
|
276
|
+
path_params=path_params,
|
|
277
|
+
header_params=header_params,
|
|
278
|
+
body=create_schema_details)
|
|
279
|
+
|
|
280
|
+
def create_table(self, ai_data_platform_id, create_table_details, **kwargs):
|
|
281
|
+
"""
|
|
282
|
+
Creates a table.
|
|
283
|
+
|
|
284
|
+
|
|
285
|
+
:param str ai_data_platform_id: (required)
|
|
286
|
+
The `OCID`__ of the AI Data Platform (Data Lake) instance.
|
|
287
|
+
|
|
288
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
|
289
|
+
|
|
290
|
+
:param oci.aidataplatform_dp.models.CreateTableDetails create_table_details: (required)
|
|
291
|
+
Details for the new table.
|
|
292
|
+
|
|
293
|
+
:param bool should_update_recent: (optional)
|
|
294
|
+
A flag to identify if the recent list should be updated.
|
|
295
|
+
|
|
296
|
+
:param str opc_retry_token: (optional)
|
|
297
|
+
A token that uniquely identifies a request so it can be retried in case of a timeout or
|
|
298
|
+
server error without risk of running that same action again. Retry tokens expire after 24
|
|
299
|
+
hours, but can be invalidated before then due to conflicting operations. For example, if a resource
|
|
300
|
+
has been deleted and removed from the system, then a retry of the original creation request
|
|
301
|
+
might be rejected.
|
|
302
|
+
|
|
303
|
+
:param str opc_request_id: (optional)
|
|
304
|
+
Unique Oracle-assigned identifier for the request. If you need to contact
|
|
305
|
+
Oracle about a particular request, please provide the request ID.
|
|
306
|
+
The only valid characters for request IDs are letters, numbers,
|
|
307
|
+
underscore, and dash.
|
|
308
|
+
|
|
309
|
+
:param obj retry_strategy: (optional)
|
|
310
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
|
311
|
+
|
|
312
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
|
|
313
|
+
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>`__.
|
|
314
|
+
|
|
315
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
|
316
|
+
|
|
317
|
+
:return: A :class:`~oci.response.Response` object with data of type None
|
|
318
|
+
:rtype: :class:`~oci.response.Response`
|
|
319
|
+
"""
|
|
320
|
+
resource_path = "/aiDataPlatforms/{aiDataPlatformId}/tables"
|
|
321
|
+
method = "POST"
|
|
322
|
+
|
|
323
|
+
# Don't accept unknown kwargs
|
|
324
|
+
expected_kwargs = [
|
|
325
|
+
"retry_strategy",
|
|
326
|
+
"should_update_recent",
|
|
327
|
+
"opc_retry_token",
|
|
328
|
+
"opc_request_id"
|
|
329
|
+
]
|
|
330
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
|
331
|
+
if extra_kwargs:
|
|
332
|
+
raise ValueError(
|
|
333
|
+
"create_table got unknown kwargs: {!r}".format(extra_kwargs))
|
|
334
|
+
|
|
335
|
+
path_params = {
|
|
336
|
+
"aiDataPlatformId": ai_data_platform_id
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
|
340
|
+
|
|
341
|
+
for (k, v) in six.iteritems(path_params):
|
|
342
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
|
343
|
+
raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
|
|
344
|
+
|
|
345
|
+
header_params = {
|
|
346
|
+
"accept": "application/json",
|
|
347
|
+
"content-type": "application/json",
|
|
348
|
+
"should-update-recent": kwargs.get("should_update_recent", missing),
|
|
349
|
+
"opc-retry-token": kwargs.get("opc_retry_token", missing),
|
|
350
|
+
"opc-request-id": kwargs.get("opc_request_id", missing)
|
|
351
|
+
}
|
|
352
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
|
353
|
+
|
|
354
|
+
retry_strategy = self.retry_strategy
|
|
355
|
+
if kwargs.get('retry_strategy'):
|
|
356
|
+
retry_strategy = kwargs.get('retry_strategy')
|
|
357
|
+
|
|
358
|
+
if retry_strategy:
|
|
359
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
|
360
|
+
self.base_client.add_opc_retry_token_if_needed(header_params)
|
|
361
|
+
return retry_strategy.make_retrying_call(
|
|
362
|
+
self.base_client.call_api,
|
|
363
|
+
resource_path=resource_path,
|
|
364
|
+
method=method,
|
|
365
|
+
path_params=path_params,
|
|
366
|
+
header_params=header_params,
|
|
367
|
+
body=create_table_details)
|
|
368
|
+
else:
|
|
369
|
+
return self.base_client.call_api(
|
|
370
|
+
resource_path=resource_path,
|
|
371
|
+
method=method,
|
|
372
|
+
path_params=path_params,
|
|
373
|
+
header_params=header_params,
|
|
374
|
+
body=create_table_details)
|
|
375
|
+
|
|
376
|
+
def create_view(self, ai_data_platform_id, create_view_details, **kwargs):
|
|
377
|
+
"""
|
|
378
|
+
Creates a view.
|
|
379
|
+
|
|
380
|
+
|
|
381
|
+
:param str ai_data_platform_id: (required)
|
|
382
|
+
The `OCID`__ of the AI Data Platform (Data Lake) instance.
|
|
383
|
+
|
|
384
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
|
385
|
+
|
|
386
|
+
:param oci.aidataplatform_dp.models.CreateViewDetails create_view_details: (required)
|
|
387
|
+
Details for the new view.
|
|
388
|
+
|
|
389
|
+
:param bool should_update_recent: (optional)
|
|
390
|
+
A flag to identify if the recent list should be updated.
|
|
391
|
+
|
|
392
|
+
:param str opc_retry_token: (optional)
|
|
393
|
+
A token that uniquely identifies a request so it can be retried in case of a timeout or
|
|
394
|
+
server error without risk of running that same action again. Retry tokens expire after 24
|
|
395
|
+
hours, but can be invalidated before then due to conflicting operations. For example, if a resource
|
|
396
|
+
has been deleted and removed from the system, then a retry of the original creation request
|
|
397
|
+
might be rejected.
|
|
398
|
+
|
|
399
|
+
:param str opc_request_id: (optional)
|
|
400
|
+
Unique Oracle-assigned identifier for the request. If you need to contact
|
|
401
|
+
Oracle about a particular request, please provide the request ID.
|
|
402
|
+
The only valid characters for request IDs are letters, numbers,
|
|
403
|
+
underscore, and dash.
|
|
404
|
+
|
|
405
|
+
:param obj retry_strategy: (optional)
|
|
406
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
|
407
|
+
|
|
408
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
|
|
409
|
+
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>`__.
|
|
410
|
+
|
|
411
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
|
412
|
+
|
|
413
|
+
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.aidataplatform_dp.models.View`
|
|
414
|
+
:rtype: :class:`~oci.response.Response`
|
|
415
|
+
"""
|
|
416
|
+
resource_path = "/aiDataPlatforms/{aiDataPlatformId}/views"
|
|
417
|
+
method = "POST"
|
|
418
|
+
|
|
419
|
+
# Don't accept unknown kwargs
|
|
420
|
+
expected_kwargs = [
|
|
421
|
+
"retry_strategy",
|
|
422
|
+
"should_update_recent",
|
|
423
|
+
"opc_retry_token",
|
|
424
|
+
"opc_request_id"
|
|
425
|
+
]
|
|
426
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
|
427
|
+
if extra_kwargs:
|
|
428
|
+
raise ValueError(
|
|
429
|
+
"create_view got unknown kwargs: {!r}".format(extra_kwargs))
|
|
430
|
+
|
|
431
|
+
path_params = {
|
|
432
|
+
"aiDataPlatformId": ai_data_platform_id
|
|
433
|
+
}
|
|
434
|
+
|
|
435
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
|
436
|
+
|
|
437
|
+
for (k, v) in six.iteritems(path_params):
|
|
438
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
|
439
|
+
raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
|
|
440
|
+
|
|
441
|
+
header_params = {
|
|
442
|
+
"accept": "application/json",
|
|
443
|
+
"content-type": "application/json",
|
|
444
|
+
"should-update-recent": kwargs.get("should_update_recent", missing),
|
|
445
|
+
"opc-retry-token": kwargs.get("opc_retry_token", missing),
|
|
446
|
+
"opc-request-id": kwargs.get("opc_request_id", missing)
|
|
447
|
+
}
|
|
448
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
|
449
|
+
|
|
450
|
+
retry_strategy = self.retry_strategy
|
|
451
|
+
if kwargs.get('retry_strategy'):
|
|
452
|
+
retry_strategy = kwargs.get('retry_strategy')
|
|
453
|
+
|
|
454
|
+
if retry_strategy:
|
|
455
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
|
456
|
+
self.base_client.add_opc_retry_token_if_needed(header_params)
|
|
457
|
+
return retry_strategy.make_retrying_call(
|
|
458
|
+
self.base_client.call_api,
|
|
459
|
+
resource_path=resource_path,
|
|
460
|
+
method=method,
|
|
461
|
+
path_params=path_params,
|
|
462
|
+
header_params=header_params,
|
|
463
|
+
body=create_view_details,
|
|
464
|
+
response_type="View")
|
|
465
|
+
else:
|
|
466
|
+
return self.base_client.call_api(
|
|
467
|
+
resource_path=resource_path,
|
|
468
|
+
method=method,
|
|
469
|
+
path_params=path_params,
|
|
470
|
+
header_params=header_params,
|
|
471
|
+
body=create_view_details,
|
|
472
|
+
response_type="View")
|
|
473
|
+
|
|
474
|
+
def delete_schema(self, ai_data_platform_id, schema_key, **kwargs):
|
|
475
|
+
"""
|
|
476
|
+
Deletes a schema from an AI Data Platform Workbench.
|
|
477
|
+
|
|
478
|
+
|
|
479
|
+
:param str ai_data_platform_id: (required)
|
|
480
|
+
The `OCID`__ of the AI Data Platform (Data Lake) instance.
|
|
481
|
+
|
|
482
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
|
483
|
+
|
|
484
|
+
:param str schema_key: (required)
|
|
485
|
+
The fully qualified name of the schema in the format <catalog_name>.<schema_name>.
|
|
486
|
+
|
|
487
|
+
:param bool is_forced: (optional)
|
|
488
|
+
A boolean which decides if an entity should be deleted with Cascade effect
|
|
489
|
+
|
|
490
|
+
:param str if_match: (optional)
|
|
491
|
+
For optimistic concurrency control. In the PUT or DELETE call for a resource, set the
|
|
492
|
+
`if-match` parameter to the value of the etag from a previous GET or POST response for
|
|
493
|
+
that resource. The resource will be updated or deleted only if the etag you provide
|
|
494
|
+
matches the resource's current etag value.
|
|
495
|
+
|
|
496
|
+
:param str opc_request_id: (optional)
|
|
497
|
+
Unique Oracle-assigned identifier for the request. If you need to contact
|
|
498
|
+
Oracle about a particular request, please provide the request ID.
|
|
499
|
+
The only valid characters for request IDs are letters, numbers,
|
|
500
|
+
underscore, and dash.
|
|
501
|
+
|
|
502
|
+
:param bool should_update_recent: (optional)
|
|
503
|
+
A flag to identify if the recent list should be updated.
|
|
504
|
+
|
|
505
|
+
:param obj retry_strategy: (optional)
|
|
506
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
|
507
|
+
|
|
508
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
|
|
509
|
+
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>`__.
|
|
510
|
+
|
|
511
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
|
512
|
+
|
|
513
|
+
:return: A :class:`~oci.response.Response` object with data of type None
|
|
514
|
+
:rtype: :class:`~oci.response.Response`
|
|
515
|
+
"""
|
|
516
|
+
resource_path = "/aiDataPlatforms/{aiDataPlatformId}/schemas/{schemaKey}"
|
|
517
|
+
method = "DELETE"
|
|
518
|
+
|
|
519
|
+
# Don't accept unknown kwargs
|
|
520
|
+
expected_kwargs = [
|
|
521
|
+
"retry_strategy",
|
|
522
|
+
"is_forced",
|
|
523
|
+
"if_match",
|
|
524
|
+
"opc_request_id",
|
|
525
|
+
"should_update_recent"
|
|
526
|
+
]
|
|
527
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
|
528
|
+
if extra_kwargs:
|
|
529
|
+
raise ValueError(
|
|
530
|
+
"delete_schema got unknown kwargs: {!r}".format(extra_kwargs))
|
|
531
|
+
|
|
532
|
+
path_params = {
|
|
533
|
+
"aiDataPlatformId": ai_data_platform_id,
|
|
534
|
+
"schemaKey": schema_key
|
|
535
|
+
}
|
|
536
|
+
|
|
537
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
|
538
|
+
|
|
539
|
+
for (k, v) in six.iteritems(path_params):
|
|
540
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
|
541
|
+
raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
|
|
542
|
+
|
|
543
|
+
header_params = {
|
|
544
|
+
"accept": "application/json",
|
|
545
|
+
"content-type": "application/json",
|
|
546
|
+
"is-forced": kwargs.get("is_forced", missing),
|
|
547
|
+
"if-match": kwargs.get("if_match", missing),
|
|
548
|
+
"opc-request-id": kwargs.get("opc_request_id", missing),
|
|
549
|
+
"should-update-recent": kwargs.get("should_update_recent", missing)
|
|
550
|
+
}
|
|
551
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
|
552
|
+
|
|
553
|
+
retry_strategy = self.retry_strategy
|
|
554
|
+
if kwargs.get('retry_strategy'):
|
|
555
|
+
retry_strategy = kwargs.get('retry_strategy')
|
|
556
|
+
|
|
557
|
+
if retry_strategy:
|
|
558
|
+
return retry_strategy.make_retrying_call(
|
|
559
|
+
self.base_client.call_api,
|
|
560
|
+
resource_path=resource_path,
|
|
561
|
+
method=method,
|
|
562
|
+
path_params=path_params,
|
|
563
|
+
header_params=header_params)
|
|
564
|
+
else:
|
|
565
|
+
return self.base_client.call_api(
|
|
566
|
+
resource_path=resource_path,
|
|
567
|
+
method=method,
|
|
568
|
+
path_params=path_params,
|
|
569
|
+
header_params=header_params)
|
|
570
|
+
|
|
571
|
+
def delete_table(self, ai_data_platform_id, table_key, **kwargs):
|
|
572
|
+
"""
|
|
573
|
+
Deletes a table from an AI Data Platform Workbench.
|
|
574
|
+
|
|
575
|
+
|
|
576
|
+
:param str ai_data_platform_id: (required)
|
|
577
|
+
The `OCID`__ of the AI Data Platform (Data Lake) instance.
|
|
578
|
+
|
|
579
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
|
580
|
+
|
|
581
|
+
:param str table_key: (required)
|
|
582
|
+
The fully qualified name of the table in the format <catalog_name>.<schema_name>.<table_name>.
|
|
583
|
+
|
|
584
|
+
:param str display_name: (optional)
|
|
585
|
+
A filter to return only resources that match the given display name exactly.
|
|
586
|
+
|
|
587
|
+
:param str if_match: (optional)
|
|
588
|
+
For optimistic concurrency control. In the PUT or DELETE call for a resource, set the
|
|
589
|
+
`if-match` parameter to the value of the etag from a previous GET or POST response for
|
|
590
|
+
that resource. The resource will be updated or deleted only if the etag you provide
|
|
591
|
+
matches the resource's current etag value.
|
|
592
|
+
|
|
593
|
+
:param str opc_request_id: (optional)
|
|
594
|
+
Unique Oracle-assigned identifier for the request. If you need to contact
|
|
595
|
+
Oracle about a particular request, please provide the request ID.
|
|
596
|
+
The only valid characters for request IDs are letters, numbers,
|
|
597
|
+
underscore, and dash.
|
|
598
|
+
|
|
599
|
+
:param bool should_update_recent: (optional)
|
|
600
|
+
A flag to identify if the recent list should be updated.
|
|
601
|
+
|
|
602
|
+
:param obj retry_strategy: (optional)
|
|
603
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
|
604
|
+
|
|
605
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
|
|
606
|
+
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>`__.
|
|
607
|
+
|
|
608
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
|
609
|
+
|
|
610
|
+
:return: A :class:`~oci.response.Response` object with data of type None
|
|
611
|
+
:rtype: :class:`~oci.response.Response`
|
|
612
|
+
"""
|
|
613
|
+
resource_path = "/aiDataPlatforms/{aiDataPlatformId}/tables/{tableKey}"
|
|
614
|
+
method = "DELETE"
|
|
615
|
+
|
|
616
|
+
# Don't accept unknown kwargs
|
|
617
|
+
expected_kwargs = [
|
|
618
|
+
"retry_strategy",
|
|
619
|
+
"display_name",
|
|
620
|
+
"if_match",
|
|
621
|
+
"opc_request_id",
|
|
622
|
+
"should_update_recent"
|
|
623
|
+
]
|
|
624
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
|
625
|
+
if extra_kwargs:
|
|
626
|
+
raise ValueError(
|
|
627
|
+
"delete_table got unknown kwargs: {!r}".format(extra_kwargs))
|
|
628
|
+
|
|
629
|
+
path_params = {
|
|
630
|
+
"aiDataPlatformId": ai_data_platform_id,
|
|
631
|
+
"tableKey": table_key
|
|
632
|
+
}
|
|
633
|
+
|
|
634
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
|
635
|
+
|
|
636
|
+
for (k, v) in six.iteritems(path_params):
|
|
637
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
|
638
|
+
raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
|
|
639
|
+
|
|
640
|
+
query_params = {
|
|
641
|
+
"displayName": kwargs.get("display_name", missing)
|
|
642
|
+
}
|
|
643
|
+
query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
|
|
644
|
+
|
|
645
|
+
header_params = {
|
|
646
|
+
"accept": "application/json",
|
|
647
|
+
"content-type": "application/json",
|
|
648
|
+
"if-match": kwargs.get("if_match", missing),
|
|
649
|
+
"opc-request-id": kwargs.get("opc_request_id", missing),
|
|
650
|
+
"should-update-recent": kwargs.get("should_update_recent", missing)
|
|
651
|
+
}
|
|
652
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
|
653
|
+
|
|
654
|
+
retry_strategy = self.retry_strategy
|
|
655
|
+
if kwargs.get('retry_strategy'):
|
|
656
|
+
retry_strategy = kwargs.get('retry_strategy')
|
|
657
|
+
|
|
658
|
+
if retry_strategy:
|
|
659
|
+
return retry_strategy.make_retrying_call(
|
|
660
|
+
self.base_client.call_api,
|
|
661
|
+
resource_path=resource_path,
|
|
662
|
+
method=method,
|
|
663
|
+
path_params=path_params,
|
|
664
|
+
query_params=query_params,
|
|
665
|
+
header_params=header_params)
|
|
666
|
+
else:
|
|
667
|
+
return self.base_client.call_api(
|
|
668
|
+
resource_path=resource_path,
|
|
669
|
+
method=method,
|
|
670
|
+
path_params=path_params,
|
|
671
|
+
query_params=query_params,
|
|
672
|
+
header_params=header_params)
|
|
673
|
+
|
|
674
|
+
def delete_view(self, ai_data_platform_id, view_key, **kwargs):
|
|
675
|
+
"""
|
|
676
|
+
Deletes a view from AI Data Platform Workbench.
|
|
677
|
+
|
|
678
|
+
|
|
679
|
+
:param str ai_data_platform_id: (required)
|
|
680
|
+
The `OCID`__ of the AI Data Platform (Data Lake) instance.
|
|
681
|
+
|
|
682
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
|
683
|
+
|
|
684
|
+
:param str view_key: (required)
|
|
685
|
+
The fully qualified name of the view in the format <catalog_name>.<schema_name>.<view_name>.
|
|
686
|
+
|
|
687
|
+
:param str display_name: (optional)
|
|
688
|
+
A filter to return only resources that match the given display name exactly.
|
|
689
|
+
|
|
690
|
+
:param str if_match: (optional)
|
|
691
|
+
For optimistic concurrency control. In the PUT or DELETE call for a resource, set the
|
|
692
|
+
`if-match` parameter to the value of the etag from a previous GET or POST response for
|
|
693
|
+
that resource. The resource will be updated or deleted only if the etag you provide
|
|
694
|
+
matches the resource's current etag value.
|
|
695
|
+
|
|
696
|
+
:param str opc_request_id: (optional)
|
|
697
|
+
Unique Oracle-assigned identifier for the request. If you need to contact
|
|
698
|
+
Oracle about a particular request, please provide the request ID.
|
|
699
|
+
The only valid characters for request IDs are letters, numbers,
|
|
700
|
+
underscore, and dash.
|
|
701
|
+
|
|
702
|
+
:param bool should_update_recent: (optional)
|
|
703
|
+
A flag to identify if the recent list should be updated.
|
|
704
|
+
|
|
705
|
+
:param obj retry_strategy: (optional)
|
|
706
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
|
707
|
+
|
|
708
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
|
|
709
|
+
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>`__.
|
|
710
|
+
|
|
711
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
|
712
|
+
|
|
713
|
+
:return: A :class:`~oci.response.Response` object with data of type None
|
|
714
|
+
:rtype: :class:`~oci.response.Response`
|
|
715
|
+
"""
|
|
716
|
+
resource_path = "/aiDataPlatforms/{aiDataPlatformId}/views/{viewKey}"
|
|
717
|
+
method = "DELETE"
|
|
718
|
+
|
|
719
|
+
# Don't accept unknown kwargs
|
|
720
|
+
expected_kwargs = [
|
|
721
|
+
"retry_strategy",
|
|
722
|
+
"display_name",
|
|
723
|
+
"if_match",
|
|
724
|
+
"opc_request_id",
|
|
725
|
+
"should_update_recent"
|
|
726
|
+
]
|
|
727
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
|
728
|
+
if extra_kwargs:
|
|
729
|
+
raise ValueError(
|
|
730
|
+
"delete_view got unknown kwargs: {!r}".format(extra_kwargs))
|
|
731
|
+
|
|
732
|
+
path_params = {
|
|
733
|
+
"aiDataPlatformId": ai_data_platform_id,
|
|
734
|
+
"viewKey": view_key
|
|
735
|
+
}
|
|
736
|
+
|
|
737
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
|
738
|
+
|
|
739
|
+
for (k, v) in six.iteritems(path_params):
|
|
740
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
|
741
|
+
raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
|
|
742
|
+
|
|
743
|
+
query_params = {
|
|
744
|
+
"displayName": kwargs.get("display_name", missing)
|
|
745
|
+
}
|
|
746
|
+
query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
|
|
747
|
+
|
|
748
|
+
header_params = {
|
|
749
|
+
"accept": "application/json",
|
|
750
|
+
"content-type": "application/json",
|
|
751
|
+
"if-match": kwargs.get("if_match", missing),
|
|
752
|
+
"opc-request-id": kwargs.get("opc_request_id", missing),
|
|
753
|
+
"should-update-recent": kwargs.get("should_update_recent", missing)
|
|
754
|
+
}
|
|
755
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
|
756
|
+
|
|
757
|
+
retry_strategy = self.retry_strategy
|
|
758
|
+
if kwargs.get('retry_strategy'):
|
|
759
|
+
retry_strategy = kwargs.get('retry_strategy')
|
|
760
|
+
|
|
761
|
+
if retry_strategy:
|
|
762
|
+
return retry_strategy.make_retrying_call(
|
|
763
|
+
self.base_client.call_api,
|
|
764
|
+
resource_path=resource_path,
|
|
765
|
+
method=method,
|
|
766
|
+
path_params=path_params,
|
|
767
|
+
query_params=query_params,
|
|
768
|
+
header_params=header_params)
|
|
769
|
+
else:
|
|
770
|
+
return self.base_client.call_api(
|
|
771
|
+
resource_path=resource_path,
|
|
772
|
+
method=method,
|
|
773
|
+
path_params=path_params,
|
|
774
|
+
query_params=query_params,
|
|
775
|
+
header_params=header_params)
|
|
776
|
+
|
|
777
|
+
def generate_temp_file_upload_target(self, ai_data_platform_id, schema_key, **kwargs):
|
|
778
|
+
"""
|
|
779
|
+
Generates a URI for uploading a sample file to a temporary folder in a schema.
|
|
780
|
+
|
|
781
|
+
|
|
782
|
+
:param str ai_data_platform_id: (required)
|
|
783
|
+
The `OCID`__ of the AI Data Platform (Data Lake) instance.
|
|
784
|
+
|
|
785
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
|
786
|
+
|
|
787
|
+
:param str schema_key: (required)
|
|
788
|
+
The fully qualified name of the schema in the format <catalog_name>.<schema_name>.
|
|
789
|
+
|
|
790
|
+
:param str opc_request_id: (optional)
|
|
791
|
+
Unique Oracle-assigned identifier for the request. If you need to contact
|
|
792
|
+
Oracle about a particular request, please provide the request ID.
|
|
793
|
+
The only valid characters for request IDs are letters, numbers,
|
|
794
|
+
underscore, and dash.
|
|
795
|
+
|
|
796
|
+
:param bool should_update_recent: (optional)
|
|
797
|
+
A flag to identify if the recent list should be updated.
|
|
798
|
+
|
|
799
|
+
:param obj retry_strategy: (optional)
|
|
800
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
|
801
|
+
|
|
802
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
|
|
803
|
+
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>`__.
|
|
804
|
+
|
|
805
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
|
806
|
+
|
|
807
|
+
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.aidataplatform_dp.models.GenerateTempFileUploadTargetResponseDetails`
|
|
808
|
+
:rtype: :class:`~oci.response.Response`
|
|
809
|
+
"""
|
|
810
|
+
resource_path = "/aiDataPlatforms/{aiDataPlatformId}/schemas/{schemaKey}/actions/generateTempFileUploadTarget"
|
|
811
|
+
method = "POST"
|
|
812
|
+
|
|
813
|
+
# Don't accept unknown kwargs
|
|
814
|
+
expected_kwargs = [
|
|
815
|
+
"retry_strategy",
|
|
816
|
+
"opc_request_id",
|
|
817
|
+
"should_update_recent"
|
|
818
|
+
]
|
|
819
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
|
820
|
+
if extra_kwargs:
|
|
821
|
+
raise ValueError(
|
|
822
|
+
"generate_temp_file_upload_target got unknown kwargs: {!r}".format(extra_kwargs))
|
|
823
|
+
|
|
824
|
+
path_params = {
|
|
825
|
+
"aiDataPlatformId": ai_data_platform_id,
|
|
826
|
+
"schemaKey": schema_key
|
|
827
|
+
}
|
|
828
|
+
|
|
829
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
|
830
|
+
|
|
831
|
+
for (k, v) in six.iteritems(path_params):
|
|
832
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
|
833
|
+
raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
|
|
834
|
+
|
|
835
|
+
header_params = {
|
|
836
|
+
"accept": "application/json",
|
|
837
|
+
"content-type": "application/json",
|
|
838
|
+
"opc-request-id": kwargs.get("opc_request_id", missing),
|
|
839
|
+
"should-update-recent": kwargs.get("should_update_recent", missing)
|
|
840
|
+
}
|
|
841
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
|
842
|
+
|
|
843
|
+
retry_strategy = self.retry_strategy
|
|
844
|
+
if kwargs.get('retry_strategy'):
|
|
845
|
+
retry_strategy = kwargs.get('retry_strategy')
|
|
846
|
+
|
|
847
|
+
if retry_strategy:
|
|
848
|
+
return retry_strategy.make_retrying_call(
|
|
849
|
+
self.base_client.call_api,
|
|
850
|
+
resource_path=resource_path,
|
|
851
|
+
method=method,
|
|
852
|
+
path_params=path_params,
|
|
853
|
+
header_params=header_params,
|
|
854
|
+
response_type="GenerateTempFileUploadTargetResponseDetails")
|
|
855
|
+
else:
|
|
856
|
+
return self.base_client.call_api(
|
|
857
|
+
resource_path=resource_path,
|
|
858
|
+
method=method,
|
|
859
|
+
path_params=path_params,
|
|
860
|
+
header_params=header_params,
|
|
861
|
+
response_type="GenerateTempFileUploadTargetResponseDetails")
|
|
862
|
+
|
|
863
|
+
def get_schema(self, ai_data_platform_id, schema_key, **kwargs):
|
|
864
|
+
"""
|
|
865
|
+
Returns detailed information about a specified schema.
|
|
866
|
+
|
|
867
|
+
|
|
868
|
+
:param str ai_data_platform_id: (required)
|
|
869
|
+
The `OCID`__ of the AI Data Platform (Data Lake) instance.
|
|
870
|
+
|
|
871
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
|
872
|
+
|
|
873
|
+
:param str schema_key: (required)
|
|
874
|
+
The fully qualified name of the schema in the format <catalog_name>.<schema_name>.
|
|
875
|
+
|
|
876
|
+
:param str opc_request_id: (optional)
|
|
877
|
+
Unique Oracle-assigned identifier for the request. If you need to contact
|
|
878
|
+
Oracle about a particular request, please provide the request ID.
|
|
879
|
+
The only valid characters for request IDs are letters, numbers,
|
|
880
|
+
underscore, and dash.
|
|
881
|
+
|
|
882
|
+
:param bool should_update_recent: (optional)
|
|
883
|
+
A flag to identify if the recent list should be updated.
|
|
884
|
+
|
|
885
|
+
:param obj retry_strategy: (optional)
|
|
886
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
|
887
|
+
|
|
888
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
|
|
889
|
+
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>`__.
|
|
890
|
+
|
|
891
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
|
892
|
+
|
|
893
|
+
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.aidataplatform_dp.models.Schema`
|
|
894
|
+
:rtype: :class:`~oci.response.Response`
|
|
895
|
+
"""
|
|
896
|
+
resource_path = "/aiDataPlatforms/{aiDataPlatformId}/schemas/{schemaKey}"
|
|
897
|
+
method = "GET"
|
|
898
|
+
|
|
899
|
+
# Don't accept unknown kwargs
|
|
900
|
+
expected_kwargs = [
|
|
901
|
+
"retry_strategy",
|
|
902
|
+
"opc_request_id",
|
|
903
|
+
"should_update_recent"
|
|
904
|
+
]
|
|
905
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
|
906
|
+
if extra_kwargs:
|
|
907
|
+
raise ValueError(
|
|
908
|
+
"get_schema got unknown kwargs: {!r}".format(extra_kwargs))
|
|
909
|
+
|
|
910
|
+
path_params = {
|
|
911
|
+
"aiDataPlatformId": ai_data_platform_id,
|
|
912
|
+
"schemaKey": schema_key
|
|
913
|
+
}
|
|
914
|
+
|
|
915
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
|
916
|
+
|
|
917
|
+
for (k, v) in six.iteritems(path_params):
|
|
918
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
|
919
|
+
raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
|
|
920
|
+
|
|
921
|
+
header_params = {
|
|
922
|
+
"accept": "application/json",
|
|
923
|
+
"content-type": "application/json",
|
|
924
|
+
"opc-request-id": kwargs.get("opc_request_id", missing),
|
|
925
|
+
"should-update-recent": kwargs.get("should_update_recent", missing)
|
|
926
|
+
}
|
|
927
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
|
928
|
+
|
|
929
|
+
retry_strategy = self.retry_strategy
|
|
930
|
+
if kwargs.get('retry_strategy'):
|
|
931
|
+
retry_strategy = kwargs.get('retry_strategy')
|
|
932
|
+
|
|
933
|
+
if retry_strategy:
|
|
934
|
+
return retry_strategy.make_retrying_call(
|
|
935
|
+
self.base_client.call_api,
|
|
936
|
+
resource_path=resource_path,
|
|
937
|
+
method=method,
|
|
938
|
+
path_params=path_params,
|
|
939
|
+
header_params=header_params,
|
|
940
|
+
response_type="Schema")
|
|
941
|
+
else:
|
|
942
|
+
return self.base_client.call_api(
|
|
943
|
+
resource_path=resource_path,
|
|
944
|
+
method=method,
|
|
945
|
+
path_params=path_params,
|
|
946
|
+
header_params=header_params,
|
|
947
|
+
response_type="Schema")
|
|
948
|
+
|
|
949
|
+
def get_table(self, ai_data_platform_id, table_key, **kwargs):
|
|
950
|
+
"""
|
|
951
|
+
Returns detailed information about a table.
|
|
952
|
+
|
|
953
|
+
|
|
954
|
+
:param str ai_data_platform_id: (required)
|
|
955
|
+
The `OCID`__ of the AI Data Platform (Data Lake) instance.
|
|
956
|
+
|
|
957
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
|
958
|
+
|
|
959
|
+
:param str table_key: (required)
|
|
960
|
+
The fully qualified name of the table in the format <catalog_name>.<schema_name>.<table_name>.
|
|
961
|
+
|
|
962
|
+
:param str opc_request_id: (optional)
|
|
963
|
+
Unique Oracle-assigned identifier for the request. If you need to contact
|
|
964
|
+
Oracle about a particular request, please provide the request ID.
|
|
965
|
+
The only valid characters for request IDs are letters, numbers,
|
|
966
|
+
underscore, and dash.
|
|
967
|
+
|
|
968
|
+
:param bool should_update_recent: (optional)
|
|
969
|
+
A flag to identify if the recent list should be updated.
|
|
970
|
+
|
|
971
|
+
:param obj retry_strategy: (optional)
|
|
972
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
|
973
|
+
|
|
974
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
|
|
975
|
+
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>`__.
|
|
976
|
+
|
|
977
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
|
978
|
+
|
|
979
|
+
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.aidataplatform_dp.models.Table`
|
|
980
|
+
:rtype: :class:`~oci.response.Response`
|
|
981
|
+
"""
|
|
982
|
+
resource_path = "/aiDataPlatforms/{aiDataPlatformId}/tables/{tableKey}"
|
|
983
|
+
method = "GET"
|
|
984
|
+
|
|
985
|
+
# Don't accept unknown kwargs
|
|
986
|
+
expected_kwargs = [
|
|
987
|
+
"retry_strategy",
|
|
988
|
+
"opc_request_id",
|
|
989
|
+
"should_update_recent"
|
|
990
|
+
]
|
|
991
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
|
992
|
+
if extra_kwargs:
|
|
993
|
+
raise ValueError(
|
|
994
|
+
"get_table got unknown kwargs: {!r}".format(extra_kwargs))
|
|
995
|
+
|
|
996
|
+
path_params = {
|
|
997
|
+
"aiDataPlatformId": ai_data_platform_id,
|
|
998
|
+
"tableKey": table_key
|
|
999
|
+
}
|
|
1000
|
+
|
|
1001
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
|
1002
|
+
|
|
1003
|
+
for (k, v) in six.iteritems(path_params):
|
|
1004
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
|
1005
|
+
raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
|
|
1006
|
+
|
|
1007
|
+
header_params = {
|
|
1008
|
+
"accept": "application/json",
|
|
1009
|
+
"content-type": "application/json",
|
|
1010
|
+
"opc-request-id": kwargs.get("opc_request_id", missing),
|
|
1011
|
+
"should-update-recent": kwargs.get("should_update_recent", missing)
|
|
1012
|
+
}
|
|
1013
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
|
1014
|
+
|
|
1015
|
+
retry_strategy = self.retry_strategy
|
|
1016
|
+
if kwargs.get('retry_strategy'):
|
|
1017
|
+
retry_strategy = kwargs.get('retry_strategy')
|
|
1018
|
+
|
|
1019
|
+
if retry_strategy:
|
|
1020
|
+
return retry_strategy.make_retrying_call(
|
|
1021
|
+
self.base_client.call_api,
|
|
1022
|
+
resource_path=resource_path,
|
|
1023
|
+
method=method,
|
|
1024
|
+
path_params=path_params,
|
|
1025
|
+
header_params=header_params,
|
|
1026
|
+
response_type="Table")
|
|
1027
|
+
else:
|
|
1028
|
+
return self.base_client.call_api(
|
|
1029
|
+
resource_path=resource_path,
|
|
1030
|
+
method=method,
|
|
1031
|
+
path_params=path_params,
|
|
1032
|
+
header_params=header_params,
|
|
1033
|
+
response_type="Table")
|
|
1034
|
+
|
|
1035
|
+
def get_view(self, ai_data_platform_id, view_key, **kwargs):
|
|
1036
|
+
"""
|
|
1037
|
+
Returns information about a view.
|
|
1038
|
+
|
|
1039
|
+
|
|
1040
|
+
:param str ai_data_platform_id: (required)
|
|
1041
|
+
The `OCID`__ of the AI Data Platform (Data Lake) instance.
|
|
1042
|
+
|
|
1043
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
|
1044
|
+
|
|
1045
|
+
:param str view_key: (required)
|
|
1046
|
+
The fully qualified name of the view in the format <catalog_name>.<schema_name>.<view_name>.
|
|
1047
|
+
|
|
1048
|
+
:param str opc_request_id: (optional)
|
|
1049
|
+
Unique Oracle-assigned identifier for the request. If you need to contact
|
|
1050
|
+
Oracle about a particular request, please provide the request ID.
|
|
1051
|
+
The only valid characters for request IDs are letters, numbers,
|
|
1052
|
+
underscore, and dash.
|
|
1053
|
+
|
|
1054
|
+
:param bool should_update_recent: (optional)
|
|
1055
|
+
A flag to identify if the recent list should be updated.
|
|
1056
|
+
|
|
1057
|
+
:param obj retry_strategy: (optional)
|
|
1058
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
|
1059
|
+
|
|
1060
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
|
|
1061
|
+
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>`__.
|
|
1062
|
+
|
|
1063
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
|
1064
|
+
|
|
1065
|
+
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.aidataplatform_dp.models.View`
|
|
1066
|
+
:rtype: :class:`~oci.response.Response`
|
|
1067
|
+
"""
|
|
1068
|
+
resource_path = "/aiDataPlatforms/{aiDataPlatformId}/views/{viewKey}"
|
|
1069
|
+
method = "GET"
|
|
1070
|
+
|
|
1071
|
+
# Don't accept unknown kwargs
|
|
1072
|
+
expected_kwargs = [
|
|
1073
|
+
"retry_strategy",
|
|
1074
|
+
"opc_request_id",
|
|
1075
|
+
"should_update_recent"
|
|
1076
|
+
]
|
|
1077
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
|
1078
|
+
if extra_kwargs:
|
|
1079
|
+
raise ValueError(
|
|
1080
|
+
"get_view got unknown kwargs: {!r}".format(extra_kwargs))
|
|
1081
|
+
|
|
1082
|
+
path_params = {
|
|
1083
|
+
"aiDataPlatformId": ai_data_platform_id,
|
|
1084
|
+
"viewKey": view_key
|
|
1085
|
+
}
|
|
1086
|
+
|
|
1087
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
|
1088
|
+
|
|
1089
|
+
for (k, v) in six.iteritems(path_params):
|
|
1090
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
|
1091
|
+
raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
|
|
1092
|
+
|
|
1093
|
+
header_params = {
|
|
1094
|
+
"accept": "application/json",
|
|
1095
|
+
"content-type": "application/json",
|
|
1096
|
+
"opc-request-id": kwargs.get("opc_request_id", missing),
|
|
1097
|
+
"should-update-recent": kwargs.get("should_update_recent", missing)
|
|
1098
|
+
}
|
|
1099
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
|
1100
|
+
|
|
1101
|
+
retry_strategy = self.retry_strategy
|
|
1102
|
+
if kwargs.get('retry_strategy'):
|
|
1103
|
+
retry_strategy = kwargs.get('retry_strategy')
|
|
1104
|
+
|
|
1105
|
+
if retry_strategy:
|
|
1106
|
+
return retry_strategy.make_retrying_call(
|
|
1107
|
+
self.base_client.call_api,
|
|
1108
|
+
resource_path=resource_path,
|
|
1109
|
+
method=method,
|
|
1110
|
+
path_params=path_params,
|
|
1111
|
+
header_params=header_params,
|
|
1112
|
+
response_type="View")
|
|
1113
|
+
else:
|
|
1114
|
+
return self.base_client.call_api(
|
|
1115
|
+
resource_path=resource_path,
|
|
1116
|
+
method=method,
|
|
1117
|
+
path_params=path_params,
|
|
1118
|
+
header_params=header_params,
|
|
1119
|
+
response_type="View")
|
|
1120
|
+
|
|
1121
|
+
def list_schema_permissions(self, ai_data_platform_id, schema_key, **kwargs):
|
|
1122
|
+
"""
|
|
1123
|
+
Returns a list of permissions for a given schema.
|
|
1124
|
+
|
|
1125
|
+
|
|
1126
|
+
:param str ai_data_platform_id: (required)
|
|
1127
|
+
The `OCID`__ of the AI Data Platform (Data Lake) instance.
|
|
1128
|
+
|
|
1129
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
|
1130
|
+
|
|
1131
|
+
:param str schema_key: (required)
|
|
1132
|
+
The fully qualified name of the schema in the format <catalog_name>.<schema_name>.
|
|
1133
|
+
|
|
1134
|
+
:param int limit: (optional)
|
|
1135
|
+
For list pagination. The maximum number of results per page, or items to return in a
|
|
1136
|
+
paginated \"List\" call. For important details about how pagination works, see
|
|
1137
|
+
`List Pagination`__.
|
|
1138
|
+
|
|
1139
|
+
__ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine
|
|
1140
|
+
|
|
1141
|
+
:param str page: (optional)
|
|
1142
|
+
For list pagination. The value of the opc-next-page response header from the previous
|
|
1143
|
+
\"List\" call. For important details about how pagination works, see
|
|
1144
|
+
`List Pagination`__.
|
|
1145
|
+
|
|
1146
|
+
__ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine
|
|
1147
|
+
|
|
1148
|
+
:param str sort_order: (optional)
|
|
1149
|
+
The sort order to use, either ascending (`ASC`) or descending (`DESC`).
|
|
1150
|
+
|
|
1151
|
+
Allowed values are: "ASC", "DESC"
|
|
1152
|
+
|
|
1153
|
+
:param str sort_by: (optional)
|
|
1154
|
+
The field to sort by. You can provide only one sort order. Default order for `timeCreated` is descending. Default order for `displayName` is ascending.
|
|
1155
|
+
|
|
1156
|
+
Allowed values are: "timeCreated", "displayName"
|
|
1157
|
+
|
|
1158
|
+
:param str opc_request_id: (optional)
|
|
1159
|
+
Unique Oracle-assigned identifier for the request. If you need to contact
|
|
1160
|
+
Oracle about a particular request, please provide the request ID.
|
|
1161
|
+
The only valid characters for request IDs are letters, numbers,
|
|
1162
|
+
underscore, and dash.
|
|
1163
|
+
|
|
1164
|
+
:param bool should_update_recent: (optional)
|
|
1165
|
+
A flag to identify if the recent list should be updated.
|
|
1166
|
+
|
|
1167
|
+
:param obj retry_strategy: (optional)
|
|
1168
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
|
1169
|
+
|
|
1170
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
|
|
1171
|
+
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>`__.
|
|
1172
|
+
|
|
1173
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
|
1174
|
+
|
|
1175
|
+
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.aidataplatform_dp.models.SchemaPermissionCollection`
|
|
1176
|
+
:rtype: :class:`~oci.response.Response`
|
|
1177
|
+
"""
|
|
1178
|
+
resource_path = "/aiDataPlatforms/{aiDataPlatformId}/schemas/{schemaKey}/permissions"
|
|
1179
|
+
method = "GET"
|
|
1180
|
+
|
|
1181
|
+
# Don't accept unknown kwargs
|
|
1182
|
+
expected_kwargs = [
|
|
1183
|
+
"retry_strategy",
|
|
1184
|
+
"limit",
|
|
1185
|
+
"page",
|
|
1186
|
+
"sort_order",
|
|
1187
|
+
"sort_by",
|
|
1188
|
+
"opc_request_id",
|
|
1189
|
+
"should_update_recent"
|
|
1190
|
+
]
|
|
1191
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
|
1192
|
+
if extra_kwargs:
|
|
1193
|
+
raise ValueError(
|
|
1194
|
+
"list_schema_permissions got unknown kwargs: {!r}".format(extra_kwargs))
|
|
1195
|
+
|
|
1196
|
+
path_params = {
|
|
1197
|
+
"aiDataPlatformId": ai_data_platform_id,
|
|
1198
|
+
"schemaKey": schema_key
|
|
1199
|
+
}
|
|
1200
|
+
|
|
1201
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
|
1202
|
+
|
|
1203
|
+
for (k, v) in six.iteritems(path_params):
|
|
1204
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
|
1205
|
+
raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
|
|
1206
|
+
|
|
1207
|
+
if 'sort_order' in kwargs:
|
|
1208
|
+
sort_order_allowed_values = ["ASC", "DESC"]
|
|
1209
|
+
if kwargs['sort_order'] not in sort_order_allowed_values:
|
|
1210
|
+
raise ValueError(
|
|
1211
|
+
"Invalid value for `sort_order`, must be one of {0}".format(sort_order_allowed_values)
|
|
1212
|
+
)
|
|
1213
|
+
|
|
1214
|
+
if 'sort_by' in kwargs:
|
|
1215
|
+
sort_by_allowed_values = ["timeCreated", "displayName"]
|
|
1216
|
+
if kwargs['sort_by'] not in sort_by_allowed_values:
|
|
1217
|
+
raise ValueError(
|
|
1218
|
+
"Invalid value for `sort_by`, must be one of {0}".format(sort_by_allowed_values)
|
|
1219
|
+
)
|
|
1220
|
+
|
|
1221
|
+
query_params = {
|
|
1222
|
+
"limit": kwargs.get("limit", missing),
|
|
1223
|
+
"page": kwargs.get("page", missing),
|
|
1224
|
+
"sortOrder": kwargs.get("sort_order", missing),
|
|
1225
|
+
"sortBy": kwargs.get("sort_by", missing)
|
|
1226
|
+
}
|
|
1227
|
+
query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
|
|
1228
|
+
|
|
1229
|
+
header_params = {
|
|
1230
|
+
"accept": "application/json",
|
|
1231
|
+
"content-type": "application/json",
|
|
1232
|
+
"opc-request-id": kwargs.get("opc_request_id", missing),
|
|
1233
|
+
"should-update-recent": kwargs.get("should_update_recent", missing)
|
|
1234
|
+
}
|
|
1235
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
|
1236
|
+
|
|
1237
|
+
retry_strategy = self.retry_strategy
|
|
1238
|
+
if kwargs.get('retry_strategy'):
|
|
1239
|
+
retry_strategy = kwargs.get('retry_strategy')
|
|
1240
|
+
|
|
1241
|
+
if retry_strategy:
|
|
1242
|
+
return retry_strategy.make_retrying_call(
|
|
1243
|
+
self.base_client.call_api,
|
|
1244
|
+
resource_path=resource_path,
|
|
1245
|
+
method=method,
|
|
1246
|
+
path_params=path_params,
|
|
1247
|
+
query_params=query_params,
|
|
1248
|
+
header_params=header_params,
|
|
1249
|
+
response_type="SchemaPermissionCollection")
|
|
1250
|
+
else:
|
|
1251
|
+
return self.base_client.call_api(
|
|
1252
|
+
resource_path=resource_path,
|
|
1253
|
+
method=method,
|
|
1254
|
+
path_params=path_params,
|
|
1255
|
+
query_params=query_params,
|
|
1256
|
+
header_params=header_params,
|
|
1257
|
+
response_type="SchemaPermissionCollection")
|
|
1258
|
+
|
|
1259
|
+
def list_schemas(self, ai_data_platform_id, catalog_key, **kwargs):
|
|
1260
|
+
"""
|
|
1261
|
+
Returns a list of schemas in a given AI Data Platform Workbench.
|
|
1262
|
+
|
|
1263
|
+
|
|
1264
|
+
:param str ai_data_platform_id: (required)
|
|
1265
|
+
The `OCID`__ of the AI Data Platform (Data Lake) instance.
|
|
1266
|
+
|
|
1267
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
|
1268
|
+
|
|
1269
|
+
:param str catalog_key: (required)
|
|
1270
|
+
The key of the catalog.
|
|
1271
|
+
|
|
1272
|
+
:param str display_name: (optional)
|
|
1273
|
+
A filter to return only resources that match the given display name exactly.
|
|
1274
|
+
|
|
1275
|
+
:param int limit: (optional)
|
|
1276
|
+
For list pagination. The maximum number of results per page, or items to return in a
|
|
1277
|
+
paginated \"List\" call. For important details about how pagination works, see
|
|
1278
|
+
`List Pagination`__.
|
|
1279
|
+
|
|
1280
|
+
__ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine
|
|
1281
|
+
|
|
1282
|
+
:param str page: (optional)
|
|
1283
|
+
For list pagination. The value of the opc-next-page response header from the previous
|
|
1284
|
+
\"List\" call. For important details about how pagination works, see
|
|
1285
|
+
`List Pagination`__.
|
|
1286
|
+
|
|
1287
|
+
__ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine
|
|
1288
|
+
|
|
1289
|
+
:param str sort_order: (optional)
|
|
1290
|
+
The sort order to use, either ascending (`ASC`) or descending (`DESC`).
|
|
1291
|
+
|
|
1292
|
+
Allowed values are: "ASC", "DESC"
|
|
1293
|
+
|
|
1294
|
+
:param str sort_by: (optional)
|
|
1295
|
+
The field to sort by. You can provide only one sort order. Default order for `timeCreated` is descending. Default order for `displayName` is ascending.
|
|
1296
|
+
|
|
1297
|
+
Allowed values are: "timeCreated", "displayName"
|
|
1298
|
+
|
|
1299
|
+
:param str opc_request_id: (optional)
|
|
1300
|
+
Unique Oracle-assigned identifier for the request. If you need to contact
|
|
1301
|
+
Oracle about a particular request, please provide the request ID.
|
|
1302
|
+
The only valid characters for request IDs are letters, numbers,
|
|
1303
|
+
underscore, and dash.
|
|
1304
|
+
|
|
1305
|
+
:param obj retry_strategy: (optional)
|
|
1306
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
|
1307
|
+
|
|
1308
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
|
|
1309
|
+
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>`__.
|
|
1310
|
+
|
|
1311
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
|
1312
|
+
|
|
1313
|
+
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.aidataplatform_dp.models.SchemaCollection`
|
|
1314
|
+
:rtype: :class:`~oci.response.Response`
|
|
1315
|
+
"""
|
|
1316
|
+
resource_path = "/aiDataPlatforms/{aiDataPlatformId}/schemas"
|
|
1317
|
+
method = "GET"
|
|
1318
|
+
|
|
1319
|
+
# Don't accept unknown kwargs
|
|
1320
|
+
expected_kwargs = [
|
|
1321
|
+
"retry_strategy",
|
|
1322
|
+
"display_name",
|
|
1323
|
+
"limit",
|
|
1324
|
+
"page",
|
|
1325
|
+
"sort_order",
|
|
1326
|
+
"sort_by",
|
|
1327
|
+
"opc_request_id"
|
|
1328
|
+
]
|
|
1329
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
|
1330
|
+
if extra_kwargs:
|
|
1331
|
+
raise ValueError(
|
|
1332
|
+
"list_schemas got unknown kwargs: {!r}".format(extra_kwargs))
|
|
1333
|
+
|
|
1334
|
+
path_params = {
|
|
1335
|
+
"aiDataPlatformId": ai_data_platform_id
|
|
1336
|
+
}
|
|
1337
|
+
|
|
1338
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
|
1339
|
+
|
|
1340
|
+
for (k, v) in six.iteritems(path_params):
|
|
1341
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
|
1342
|
+
raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
|
|
1343
|
+
|
|
1344
|
+
if 'sort_order' in kwargs:
|
|
1345
|
+
sort_order_allowed_values = ["ASC", "DESC"]
|
|
1346
|
+
if kwargs['sort_order'] not in sort_order_allowed_values:
|
|
1347
|
+
raise ValueError(
|
|
1348
|
+
"Invalid value for `sort_order`, must be one of {0}".format(sort_order_allowed_values)
|
|
1349
|
+
)
|
|
1350
|
+
|
|
1351
|
+
if 'sort_by' in kwargs:
|
|
1352
|
+
sort_by_allowed_values = ["timeCreated", "displayName"]
|
|
1353
|
+
if kwargs['sort_by'] not in sort_by_allowed_values:
|
|
1354
|
+
raise ValueError(
|
|
1355
|
+
"Invalid value for `sort_by`, must be one of {0}".format(sort_by_allowed_values)
|
|
1356
|
+
)
|
|
1357
|
+
|
|
1358
|
+
query_params = {
|
|
1359
|
+
"catalogKey": catalog_key,
|
|
1360
|
+
"displayName": kwargs.get("display_name", missing),
|
|
1361
|
+
"limit": kwargs.get("limit", missing),
|
|
1362
|
+
"page": kwargs.get("page", missing),
|
|
1363
|
+
"sortOrder": kwargs.get("sort_order", missing),
|
|
1364
|
+
"sortBy": kwargs.get("sort_by", missing)
|
|
1365
|
+
}
|
|
1366
|
+
query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
|
|
1367
|
+
|
|
1368
|
+
header_params = {
|
|
1369
|
+
"accept": "application/json",
|
|
1370
|
+
"content-type": "application/json",
|
|
1371
|
+
"opc-request-id": kwargs.get("opc_request_id", missing)
|
|
1372
|
+
}
|
|
1373
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
|
1374
|
+
|
|
1375
|
+
retry_strategy = self.retry_strategy
|
|
1376
|
+
if kwargs.get('retry_strategy'):
|
|
1377
|
+
retry_strategy = kwargs.get('retry_strategy')
|
|
1378
|
+
|
|
1379
|
+
if retry_strategy:
|
|
1380
|
+
return retry_strategy.make_retrying_call(
|
|
1381
|
+
self.base_client.call_api,
|
|
1382
|
+
resource_path=resource_path,
|
|
1383
|
+
method=method,
|
|
1384
|
+
path_params=path_params,
|
|
1385
|
+
query_params=query_params,
|
|
1386
|
+
header_params=header_params,
|
|
1387
|
+
response_type="SchemaCollection")
|
|
1388
|
+
else:
|
|
1389
|
+
return self.base_client.call_api(
|
|
1390
|
+
resource_path=resource_path,
|
|
1391
|
+
method=method,
|
|
1392
|
+
path_params=path_params,
|
|
1393
|
+
query_params=query_params,
|
|
1394
|
+
header_params=header_params,
|
|
1395
|
+
response_type="SchemaCollection")
|
|
1396
|
+
|
|
1397
|
+
def list_table_permissions(self, ai_data_platform_id, table_key, **kwargs):
|
|
1398
|
+
"""
|
|
1399
|
+
Returns a list of permissions for a given table.
|
|
1400
|
+
|
|
1401
|
+
|
|
1402
|
+
:param str ai_data_platform_id: (required)
|
|
1403
|
+
The `OCID`__ of the AI Data Platform (Data Lake) instance.
|
|
1404
|
+
|
|
1405
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
|
1406
|
+
|
|
1407
|
+
:param str table_key: (required)
|
|
1408
|
+
The fully qualified name of the table in the format <catalog_name>.<schema_name>.<table_name>.
|
|
1409
|
+
|
|
1410
|
+
:param int limit: (optional)
|
|
1411
|
+
For list pagination. The maximum number of results per page, or items to return in a
|
|
1412
|
+
paginated \"List\" call. For important details about how pagination works, see
|
|
1413
|
+
`List Pagination`__.
|
|
1414
|
+
|
|
1415
|
+
__ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine
|
|
1416
|
+
|
|
1417
|
+
:param str page: (optional)
|
|
1418
|
+
For list pagination. The value of the opc-next-page response header from the previous
|
|
1419
|
+
\"List\" call. For important details about how pagination works, see
|
|
1420
|
+
`List Pagination`__.
|
|
1421
|
+
|
|
1422
|
+
__ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine
|
|
1423
|
+
|
|
1424
|
+
:param str sort_order: (optional)
|
|
1425
|
+
The sort order to use, either ascending (`ASC`) or descending (`DESC`).
|
|
1426
|
+
|
|
1427
|
+
Allowed values are: "ASC", "DESC"
|
|
1428
|
+
|
|
1429
|
+
:param str sort_by: (optional)
|
|
1430
|
+
The field to sort by. You can provide only one sort order. Default order for `timeCreated` is descending. Default order for `displayName` is ascending.
|
|
1431
|
+
|
|
1432
|
+
Allowed values are: "timeCreated", "displayName"
|
|
1433
|
+
|
|
1434
|
+
:param str opc_request_id: (optional)
|
|
1435
|
+
Unique Oracle-assigned identifier for the request. If you need to contact
|
|
1436
|
+
Oracle about a particular request, please provide the request ID.
|
|
1437
|
+
The only valid characters for request IDs are letters, numbers,
|
|
1438
|
+
underscore, and dash.
|
|
1439
|
+
|
|
1440
|
+
:param bool should_update_recent: (optional)
|
|
1441
|
+
A flag to identify if the recent list should be updated.
|
|
1442
|
+
|
|
1443
|
+
:param obj retry_strategy: (optional)
|
|
1444
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
|
1445
|
+
|
|
1446
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
|
|
1447
|
+
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>`__.
|
|
1448
|
+
|
|
1449
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
|
1450
|
+
|
|
1451
|
+
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.aidataplatform_dp.models.TablePermissionCollection`
|
|
1452
|
+
:rtype: :class:`~oci.response.Response`
|
|
1453
|
+
"""
|
|
1454
|
+
resource_path = "/aiDataPlatforms/{aiDataPlatformId}/tables/{tableKey}/permissions"
|
|
1455
|
+
method = "GET"
|
|
1456
|
+
|
|
1457
|
+
# Don't accept unknown kwargs
|
|
1458
|
+
expected_kwargs = [
|
|
1459
|
+
"retry_strategy",
|
|
1460
|
+
"limit",
|
|
1461
|
+
"page",
|
|
1462
|
+
"sort_order",
|
|
1463
|
+
"sort_by",
|
|
1464
|
+
"opc_request_id",
|
|
1465
|
+
"should_update_recent"
|
|
1466
|
+
]
|
|
1467
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
|
1468
|
+
if extra_kwargs:
|
|
1469
|
+
raise ValueError(
|
|
1470
|
+
"list_table_permissions got unknown kwargs: {!r}".format(extra_kwargs))
|
|
1471
|
+
|
|
1472
|
+
path_params = {
|
|
1473
|
+
"aiDataPlatformId": ai_data_platform_id,
|
|
1474
|
+
"tableKey": table_key
|
|
1475
|
+
}
|
|
1476
|
+
|
|
1477
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
|
1478
|
+
|
|
1479
|
+
for (k, v) in six.iteritems(path_params):
|
|
1480
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
|
1481
|
+
raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
|
|
1482
|
+
|
|
1483
|
+
if 'sort_order' in kwargs:
|
|
1484
|
+
sort_order_allowed_values = ["ASC", "DESC"]
|
|
1485
|
+
if kwargs['sort_order'] not in sort_order_allowed_values:
|
|
1486
|
+
raise ValueError(
|
|
1487
|
+
"Invalid value for `sort_order`, must be one of {0}".format(sort_order_allowed_values)
|
|
1488
|
+
)
|
|
1489
|
+
|
|
1490
|
+
if 'sort_by' in kwargs:
|
|
1491
|
+
sort_by_allowed_values = ["timeCreated", "displayName"]
|
|
1492
|
+
if kwargs['sort_by'] not in sort_by_allowed_values:
|
|
1493
|
+
raise ValueError(
|
|
1494
|
+
"Invalid value for `sort_by`, must be one of {0}".format(sort_by_allowed_values)
|
|
1495
|
+
)
|
|
1496
|
+
|
|
1497
|
+
query_params = {
|
|
1498
|
+
"limit": kwargs.get("limit", missing),
|
|
1499
|
+
"page": kwargs.get("page", missing),
|
|
1500
|
+
"sortOrder": kwargs.get("sort_order", missing),
|
|
1501
|
+
"sortBy": kwargs.get("sort_by", missing)
|
|
1502
|
+
}
|
|
1503
|
+
query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
|
|
1504
|
+
|
|
1505
|
+
header_params = {
|
|
1506
|
+
"accept": "application/json",
|
|
1507
|
+
"content-type": "application/json",
|
|
1508
|
+
"opc-request-id": kwargs.get("opc_request_id", missing),
|
|
1509
|
+
"should-update-recent": kwargs.get("should_update_recent", missing)
|
|
1510
|
+
}
|
|
1511
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
|
1512
|
+
|
|
1513
|
+
retry_strategy = self.retry_strategy
|
|
1514
|
+
if kwargs.get('retry_strategy'):
|
|
1515
|
+
retry_strategy = kwargs.get('retry_strategy')
|
|
1516
|
+
|
|
1517
|
+
if retry_strategy:
|
|
1518
|
+
return retry_strategy.make_retrying_call(
|
|
1519
|
+
self.base_client.call_api,
|
|
1520
|
+
resource_path=resource_path,
|
|
1521
|
+
method=method,
|
|
1522
|
+
path_params=path_params,
|
|
1523
|
+
query_params=query_params,
|
|
1524
|
+
header_params=header_params,
|
|
1525
|
+
response_type="TablePermissionCollection")
|
|
1526
|
+
else:
|
|
1527
|
+
return self.base_client.call_api(
|
|
1528
|
+
resource_path=resource_path,
|
|
1529
|
+
method=method,
|
|
1530
|
+
path_params=path_params,
|
|
1531
|
+
query_params=query_params,
|
|
1532
|
+
header_params=header_params,
|
|
1533
|
+
response_type="TablePermissionCollection")
|
|
1534
|
+
|
|
1535
|
+
def list_tables(self, ai_data_platform_id, catalog_key, schema_key, **kwargs):
|
|
1536
|
+
"""
|
|
1537
|
+
Returns a list of tables in a schema.
|
|
1538
|
+
|
|
1539
|
+
|
|
1540
|
+
:param str ai_data_platform_id: (required)
|
|
1541
|
+
The `OCID`__ of the AI Data Platform (Data Lake) instance.
|
|
1542
|
+
|
|
1543
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
|
1544
|
+
|
|
1545
|
+
:param str catalog_key: (required)
|
|
1546
|
+
The key of the catalog.
|
|
1547
|
+
|
|
1548
|
+
:param str schema_key: (required)
|
|
1549
|
+
The fully qualified name of the Data Lake Schema in the format <catalog_name>.<schema_name>
|
|
1550
|
+
|
|
1551
|
+
:param str display_name: (optional)
|
|
1552
|
+
A filter to return only resources that match the given display name exactly.
|
|
1553
|
+
|
|
1554
|
+
:param int limit: (optional)
|
|
1555
|
+
For list pagination. The maximum number of results per page, or items to return in a
|
|
1556
|
+
paginated \"List\" call. For important details about how pagination works, see
|
|
1557
|
+
`List Pagination`__.
|
|
1558
|
+
|
|
1559
|
+
__ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine
|
|
1560
|
+
|
|
1561
|
+
:param str page: (optional)
|
|
1562
|
+
For list pagination. The value of the opc-next-page response header from the previous
|
|
1563
|
+
\"List\" call. For important details about how pagination works, see
|
|
1564
|
+
`List Pagination`__.
|
|
1565
|
+
|
|
1566
|
+
__ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine
|
|
1567
|
+
|
|
1568
|
+
:param str sort_order: (optional)
|
|
1569
|
+
The sort order to use, either ascending (`ASC`) or descending (`DESC`).
|
|
1570
|
+
|
|
1571
|
+
Allowed values are: "ASC", "DESC"
|
|
1572
|
+
|
|
1573
|
+
:param str sort_by: (optional)
|
|
1574
|
+
The field to sort by. You can provide only one sort order. Default order for `timeCreated` is descending. Default order for `displayName` is ascending.
|
|
1575
|
+
|
|
1576
|
+
Allowed values are: "timeCreated", "displayName"
|
|
1577
|
+
|
|
1578
|
+
:param str opc_request_id: (optional)
|
|
1579
|
+
Unique Oracle-assigned identifier for the request. If you need to contact
|
|
1580
|
+
Oracle about a particular request, please provide the request ID.
|
|
1581
|
+
The only valid characters for request IDs are letters, numbers,
|
|
1582
|
+
underscore, and dash.
|
|
1583
|
+
|
|
1584
|
+
:param obj retry_strategy: (optional)
|
|
1585
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
|
1586
|
+
|
|
1587
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
|
|
1588
|
+
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>`__.
|
|
1589
|
+
|
|
1590
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
|
1591
|
+
|
|
1592
|
+
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.aidataplatform_dp.models.TableCollection`
|
|
1593
|
+
:rtype: :class:`~oci.response.Response`
|
|
1594
|
+
"""
|
|
1595
|
+
resource_path = "/aiDataPlatforms/{aiDataPlatformId}/tables"
|
|
1596
|
+
method = "GET"
|
|
1597
|
+
|
|
1598
|
+
# Don't accept unknown kwargs
|
|
1599
|
+
expected_kwargs = [
|
|
1600
|
+
"retry_strategy",
|
|
1601
|
+
"display_name",
|
|
1602
|
+
"limit",
|
|
1603
|
+
"page",
|
|
1604
|
+
"sort_order",
|
|
1605
|
+
"sort_by",
|
|
1606
|
+
"opc_request_id"
|
|
1607
|
+
]
|
|
1608
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
|
1609
|
+
if extra_kwargs:
|
|
1610
|
+
raise ValueError(
|
|
1611
|
+
"list_tables got unknown kwargs: {!r}".format(extra_kwargs))
|
|
1612
|
+
|
|
1613
|
+
path_params = {
|
|
1614
|
+
"aiDataPlatformId": ai_data_platform_id
|
|
1615
|
+
}
|
|
1616
|
+
|
|
1617
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
|
1618
|
+
|
|
1619
|
+
for (k, v) in six.iteritems(path_params):
|
|
1620
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
|
1621
|
+
raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
|
|
1622
|
+
|
|
1623
|
+
if 'sort_order' in kwargs:
|
|
1624
|
+
sort_order_allowed_values = ["ASC", "DESC"]
|
|
1625
|
+
if kwargs['sort_order'] not in sort_order_allowed_values:
|
|
1626
|
+
raise ValueError(
|
|
1627
|
+
"Invalid value for `sort_order`, must be one of {0}".format(sort_order_allowed_values)
|
|
1628
|
+
)
|
|
1629
|
+
|
|
1630
|
+
if 'sort_by' in kwargs:
|
|
1631
|
+
sort_by_allowed_values = ["timeCreated", "displayName"]
|
|
1632
|
+
if kwargs['sort_by'] not in sort_by_allowed_values:
|
|
1633
|
+
raise ValueError(
|
|
1634
|
+
"Invalid value for `sort_by`, must be one of {0}".format(sort_by_allowed_values)
|
|
1635
|
+
)
|
|
1636
|
+
|
|
1637
|
+
query_params = {
|
|
1638
|
+
"catalogKey": catalog_key,
|
|
1639
|
+
"schemaKey": schema_key,
|
|
1640
|
+
"displayName": kwargs.get("display_name", missing),
|
|
1641
|
+
"limit": kwargs.get("limit", missing),
|
|
1642
|
+
"page": kwargs.get("page", missing),
|
|
1643
|
+
"sortOrder": kwargs.get("sort_order", missing),
|
|
1644
|
+
"sortBy": kwargs.get("sort_by", missing)
|
|
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
|
+
}
|
|
1653
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
|
1654
|
+
|
|
1655
|
+
retry_strategy = self.retry_strategy
|
|
1656
|
+
if kwargs.get('retry_strategy'):
|
|
1657
|
+
retry_strategy = kwargs.get('retry_strategy')
|
|
1658
|
+
|
|
1659
|
+
if retry_strategy:
|
|
1660
|
+
return retry_strategy.make_retrying_call(
|
|
1661
|
+
self.base_client.call_api,
|
|
1662
|
+
resource_path=resource_path,
|
|
1663
|
+
method=method,
|
|
1664
|
+
path_params=path_params,
|
|
1665
|
+
query_params=query_params,
|
|
1666
|
+
header_params=header_params,
|
|
1667
|
+
response_type="TableCollection")
|
|
1668
|
+
else:
|
|
1669
|
+
return self.base_client.call_api(
|
|
1670
|
+
resource_path=resource_path,
|
|
1671
|
+
method=method,
|
|
1672
|
+
path_params=path_params,
|
|
1673
|
+
query_params=query_params,
|
|
1674
|
+
header_params=header_params,
|
|
1675
|
+
response_type="TableCollection")
|
|
1676
|
+
|
|
1677
|
+
def list_view_permissions(self, ai_data_platform_id, view_key, **kwargs):
|
|
1678
|
+
"""
|
|
1679
|
+
Returns a list of view permissions.
|
|
1680
|
+
|
|
1681
|
+
|
|
1682
|
+
:param str ai_data_platform_id: (required)
|
|
1683
|
+
The `OCID`__ of the AI Data Platform (Data Lake) instance.
|
|
1684
|
+
|
|
1685
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
|
1686
|
+
|
|
1687
|
+
:param str view_key: (required)
|
|
1688
|
+
The fully qualified name of the view in the format <catalog_name>.<schema_name>.<view_name>.
|
|
1689
|
+
|
|
1690
|
+
:param int limit: (optional)
|
|
1691
|
+
For list pagination. The maximum number of results per page, or items to return in a
|
|
1692
|
+
paginated \"List\" call. For important details about how pagination works, see
|
|
1693
|
+
`List Pagination`__.
|
|
1694
|
+
|
|
1695
|
+
__ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine
|
|
1696
|
+
|
|
1697
|
+
:param str page: (optional)
|
|
1698
|
+
For list pagination. The value of the opc-next-page response header from the previous
|
|
1699
|
+
\"List\" call. For important details about how pagination works, see
|
|
1700
|
+
`List Pagination`__.
|
|
1701
|
+
|
|
1702
|
+
__ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine
|
|
1703
|
+
|
|
1704
|
+
:param str sort_order: (optional)
|
|
1705
|
+
The sort order to use, either ascending (`ASC`) or descending (`DESC`).
|
|
1706
|
+
|
|
1707
|
+
Allowed values are: "ASC", "DESC"
|
|
1708
|
+
|
|
1709
|
+
:param str sort_by: (optional)
|
|
1710
|
+
The field to sort by. You can provide only one sort order. Default order for `timeCreated` is descending. Default order for `displayName` is ascending.
|
|
1711
|
+
|
|
1712
|
+
Allowed values are: "timeCreated", "displayName"
|
|
1713
|
+
|
|
1714
|
+
:param str opc_request_id: (optional)
|
|
1715
|
+
Unique Oracle-assigned identifier for the request. If you need to contact
|
|
1716
|
+
Oracle about a particular request, please provide the request ID.
|
|
1717
|
+
The only valid characters for request IDs are letters, numbers,
|
|
1718
|
+
underscore, and dash.
|
|
1719
|
+
|
|
1720
|
+
:param bool should_update_recent: (optional)
|
|
1721
|
+
A flag to identify if the recent list should be updated.
|
|
1722
|
+
|
|
1723
|
+
:param obj retry_strategy: (optional)
|
|
1724
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
|
1725
|
+
|
|
1726
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
|
|
1727
|
+
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>`__.
|
|
1728
|
+
|
|
1729
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
|
1730
|
+
|
|
1731
|
+
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.aidataplatform_dp.models.ViewPermissionCollection`
|
|
1732
|
+
:rtype: :class:`~oci.response.Response`
|
|
1733
|
+
"""
|
|
1734
|
+
resource_path = "/aiDataPlatforms/{aiDataPlatformId}/views/{viewKey}/permissions"
|
|
1735
|
+
method = "GET"
|
|
1736
|
+
|
|
1737
|
+
# Don't accept unknown kwargs
|
|
1738
|
+
expected_kwargs = [
|
|
1739
|
+
"retry_strategy",
|
|
1740
|
+
"limit",
|
|
1741
|
+
"page",
|
|
1742
|
+
"sort_order",
|
|
1743
|
+
"sort_by",
|
|
1744
|
+
"opc_request_id",
|
|
1745
|
+
"should_update_recent"
|
|
1746
|
+
]
|
|
1747
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
|
1748
|
+
if extra_kwargs:
|
|
1749
|
+
raise ValueError(
|
|
1750
|
+
"list_view_permissions got unknown kwargs: {!r}".format(extra_kwargs))
|
|
1751
|
+
|
|
1752
|
+
path_params = {
|
|
1753
|
+
"aiDataPlatformId": ai_data_platform_id,
|
|
1754
|
+
"viewKey": view_key
|
|
1755
|
+
}
|
|
1756
|
+
|
|
1757
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
|
1758
|
+
|
|
1759
|
+
for (k, v) in six.iteritems(path_params):
|
|
1760
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
|
1761
|
+
raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
|
|
1762
|
+
|
|
1763
|
+
if 'sort_order' in kwargs:
|
|
1764
|
+
sort_order_allowed_values = ["ASC", "DESC"]
|
|
1765
|
+
if kwargs['sort_order'] not in sort_order_allowed_values:
|
|
1766
|
+
raise ValueError(
|
|
1767
|
+
"Invalid value for `sort_order`, must be one of {0}".format(sort_order_allowed_values)
|
|
1768
|
+
)
|
|
1769
|
+
|
|
1770
|
+
if 'sort_by' in kwargs:
|
|
1771
|
+
sort_by_allowed_values = ["timeCreated", "displayName"]
|
|
1772
|
+
if kwargs['sort_by'] not in sort_by_allowed_values:
|
|
1773
|
+
raise ValueError(
|
|
1774
|
+
"Invalid value for `sort_by`, must be one of {0}".format(sort_by_allowed_values)
|
|
1775
|
+
)
|
|
1776
|
+
|
|
1777
|
+
query_params = {
|
|
1778
|
+
"limit": kwargs.get("limit", missing),
|
|
1779
|
+
"page": kwargs.get("page", missing),
|
|
1780
|
+
"sortOrder": kwargs.get("sort_order", missing),
|
|
1781
|
+
"sortBy": kwargs.get("sort_by", missing)
|
|
1782
|
+
}
|
|
1783
|
+
query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
|
|
1784
|
+
|
|
1785
|
+
header_params = {
|
|
1786
|
+
"accept": "application/json",
|
|
1787
|
+
"content-type": "application/json",
|
|
1788
|
+
"opc-request-id": kwargs.get("opc_request_id", missing),
|
|
1789
|
+
"should-update-recent": kwargs.get("should_update_recent", missing)
|
|
1790
|
+
}
|
|
1791
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
|
1792
|
+
|
|
1793
|
+
retry_strategy = self.retry_strategy
|
|
1794
|
+
if kwargs.get('retry_strategy'):
|
|
1795
|
+
retry_strategy = kwargs.get('retry_strategy')
|
|
1796
|
+
|
|
1797
|
+
if retry_strategy:
|
|
1798
|
+
return retry_strategy.make_retrying_call(
|
|
1799
|
+
self.base_client.call_api,
|
|
1800
|
+
resource_path=resource_path,
|
|
1801
|
+
method=method,
|
|
1802
|
+
path_params=path_params,
|
|
1803
|
+
query_params=query_params,
|
|
1804
|
+
header_params=header_params,
|
|
1805
|
+
response_type="ViewPermissionCollection")
|
|
1806
|
+
else:
|
|
1807
|
+
return self.base_client.call_api(
|
|
1808
|
+
resource_path=resource_path,
|
|
1809
|
+
method=method,
|
|
1810
|
+
path_params=path_params,
|
|
1811
|
+
query_params=query_params,
|
|
1812
|
+
header_params=header_params,
|
|
1813
|
+
response_type="ViewPermissionCollection")
|
|
1814
|
+
|
|
1815
|
+
def list_views(self, ai_data_platform_id, catalog_key, schema_key, **kwargs):
|
|
1816
|
+
"""
|
|
1817
|
+
Returns a list of views in a schema.
|
|
1818
|
+
|
|
1819
|
+
|
|
1820
|
+
:param str ai_data_platform_id: (required)
|
|
1821
|
+
The `OCID`__ of the AI Data Platform (Data Lake) instance.
|
|
1822
|
+
|
|
1823
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
|
1824
|
+
|
|
1825
|
+
:param str catalog_key: (required)
|
|
1826
|
+
The key of the catalog.
|
|
1827
|
+
|
|
1828
|
+
:param str schema_key: (required)
|
|
1829
|
+
The fully qualified name of the Data Lake Schema in the format <catalog_name>.<schema_name>
|
|
1830
|
+
|
|
1831
|
+
:param str display_name: (optional)
|
|
1832
|
+
A filter to return only resources that match the given display name exactly.
|
|
1833
|
+
|
|
1834
|
+
:param int limit: (optional)
|
|
1835
|
+
For list pagination. The maximum number of results per page, or items to return in a
|
|
1836
|
+
paginated \"List\" call. For important details about how pagination works, see
|
|
1837
|
+
`List Pagination`__.
|
|
1838
|
+
|
|
1839
|
+
__ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine
|
|
1840
|
+
|
|
1841
|
+
:param str page: (optional)
|
|
1842
|
+
For list pagination. The value of the opc-next-page response header from the previous
|
|
1843
|
+
\"List\" call. For important details about how pagination works, see
|
|
1844
|
+
`List Pagination`__.
|
|
1845
|
+
|
|
1846
|
+
__ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine
|
|
1847
|
+
|
|
1848
|
+
:param str sort_order: (optional)
|
|
1849
|
+
The sort order to use, either ascending (`ASC`) or descending (`DESC`).
|
|
1850
|
+
|
|
1851
|
+
Allowed values are: "ASC", "DESC"
|
|
1852
|
+
|
|
1853
|
+
:param str sort_by: (optional)
|
|
1854
|
+
The field to sort by. You can provide only one sort order. Default order for `timeCreated` is descending. Default order for `displayName` is ascending.
|
|
1855
|
+
|
|
1856
|
+
Allowed values are: "timeCreated", "displayName"
|
|
1857
|
+
|
|
1858
|
+
:param str opc_request_id: (optional)
|
|
1859
|
+
Unique Oracle-assigned identifier for the request. If you need to contact
|
|
1860
|
+
Oracle about a particular request, please provide the request ID.
|
|
1861
|
+
The only valid characters for request IDs are letters, numbers,
|
|
1862
|
+
underscore, and dash.
|
|
1863
|
+
|
|
1864
|
+
:param obj retry_strategy: (optional)
|
|
1865
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
|
1866
|
+
|
|
1867
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
|
|
1868
|
+
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>`__.
|
|
1869
|
+
|
|
1870
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
|
1871
|
+
|
|
1872
|
+
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.aidataplatform_dp.models.ViewCollection`
|
|
1873
|
+
:rtype: :class:`~oci.response.Response`
|
|
1874
|
+
"""
|
|
1875
|
+
resource_path = "/aiDataPlatforms/{aiDataPlatformId}/views"
|
|
1876
|
+
method = "GET"
|
|
1877
|
+
|
|
1878
|
+
# Don't accept unknown kwargs
|
|
1879
|
+
expected_kwargs = [
|
|
1880
|
+
"retry_strategy",
|
|
1881
|
+
"display_name",
|
|
1882
|
+
"limit",
|
|
1883
|
+
"page",
|
|
1884
|
+
"sort_order",
|
|
1885
|
+
"sort_by",
|
|
1886
|
+
"opc_request_id"
|
|
1887
|
+
]
|
|
1888
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
|
1889
|
+
if extra_kwargs:
|
|
1890
|
+
raise ValueError(
|
|
1891
|
+
"list_views got unknown kwargs: {!r}".format(extra_kwargs))
|
|
1892
|
+
|
|
1893
|
+
path_params = {
|
|
1894
|
+
"aiDataPlatformId": ai_data_platform_id
|
|
1895
|
+
}
|
|
1896
|
+
|
|
1897
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
|
1898
|
+
|
|
1899
|
+
for (k, v) in six.iteritems(path_params):
|
|
1900
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
|
1901
|
+
raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
|
|
1902
|
+
|
|
1903
|
+
if 'sort_order' in kwargs:
|
|
1904
|
+
sort_order_allowed_values = ["ASC", "DESC"]
|
|
1905
|
+
if kwargs['sort_order'] not in sort_order_allowed_values:
|
|
1906
|
+
raise ValueError(
|
|
1907
|
+
"Invalid value for `sort_order`, must be one of {0}".format(sort_order_allowed_values)
|
|
1908
|
+
)
|
|
1909
|
+
|
|
1910
|
+
if 'sort_by' in kwargs:
|
|
1911
|
+
sort_by_allowed_values = ["timeCreated", "displayName"]
|
|
1912
|
+
if kwargs['sort_by'] not in sort_by_allowed_values:
|
|
1913
|
+
raise ValueError(
|
|
1914
|
+
"Invalid value for `sort_by`, must be one of {0}".format(sort_by_allowed_values)
|
|
1915
|
+
)
|
|
1916
|
+
|
|
1917
|
+
query_params = {
|
|
1918
|
+
"catalogKey": catalog_key,
|
|
1919
|
+
"schemaKey": schema_key,
|
|
1920
|
+
"displayName": kwargs.get("display_name", missing),
|
|
1921
|
+
"limit": kwargs.get("limit", missing),
|
|
1922
|
+
"page": kwargs.get("page", missing),
|
|
1923
|
+
"sortOrder": kwargs.get("sort_order", missing),
|
|
1924
|
+
"sortBy": kwargs.get("sort_by", missing)
|
|
1925
|
+
}
|
|
1926
|
+
query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
|
|
1927
|
+
|
|
1928
|
+
header_params = {
|
|
1929
|
+
"accept": "application/json",
|
|
1930
|
+
"content-type": "application/json",
|
|
1931
|
+
"opc-request-id": kwargs.get("opc_request_id", missing)
|
|
1932
|
+
}
|
|
1933
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
|
1934
|
+
|
|
1935
|
+
retry_strategy = self.retry_strategy
|
|
1936
|
+
if kwargs.get('retry_strategy'):
|
|
1937
|
+
retry_strategy = kwargs.get('retry_strategy')
|
|
1938
|
+
|
|
1939
|
+
if retry_strategy:
|
|
1940
|
+
return retry_strategy.make_retrying_call(
|
|
1941
|
+
self.base_client.call_api,
|
|
1942
|
+
resource_path=resource_path,
|
|
1943
|
+
method=method,
|
|
1944
|
+
path_params=path_params,
|
|
1945
|
+
query_params=query_params,
|
|
1946
|
+
header_params=header_params,
|
|
1947
|
+
response_type="ViewCollection")
|
|
1948
|
+
else:
|
|
1949
|
+
return self.base_client.call_api(
|
|
1950
|
+
resource_path=resource_path,
|
|
1951
|
+
method=method,
|
|
1952
|
+
path_params=path_params,
|
|
1953
|
+
query_params=query_params,
|
|
1954
|
+
header_params=header_params,
|
|
1955
|
+
response_type="ViewCollection")
|
|
1956
|
+
|
|
1957
|
+
def manage_schema_permission(self, ai_data_platform_id, schema_key, manage_schema_permission_details, **kwargs):
|
|
1958
|
+
"""
|
|
1959
|
+
Updates the permissions for a given schema.
|
|
1960
|
+
|
|
1961
|
+
|
|
1962
|
+
:param str ai_data_platform_id: (required)
|
|
1963
|
+
The `OCID`__ of the AI Data Platform (Data Lake) instance.
|
|
1964
|
+
|
|
1965
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
|
1966
|
+
|
|
1967
|
+
:param str schema_key: (required)
|
|
1968
|
+
The fully qualified name of the schema in the format <catalog_name>.<schema_name>.
|
|
1969
|
+
|
|
1970
|
+
:param oci.aidataplatform_dp.models.ManageSchemaPermissionDetails manage_schema_permission_details: (required)
|
|
1971
|
+
The information to be updated.
|
|
1972
|
+
|
|
1973
|
+
:param str if_match: (optional)
|
|
1974
|
+
For optimistic concurrency control. In the PUT or DELETE call for a resource, set the
|
|
1975
|
+
`if-match` parameter to the value of the etag from a previous GET or POST response for
|
|
1976
|
+
that resource. The resource will be updated or deleted only if the etag you provide
|
|
1977
|
+
matches the resource's current etag value.
|
|
1978
|
+
|
|
1979
|
+
:param str opc_request_id: (optional)
|
|
1980
|
+
Unique Oracle-assigned identifier for the request. If you need to contact
|
|
1981
|
+
Oracle about a particular request, please provide the request ID.
|
|
1982
|
+
The only valid characters for request IDs are letters, numbers,
|
|
1983
|
+
underscore, and dash.
|
|
1984
|
+
|
|
1985
|
+
:param bool should_update_recent: (optional)
|
|
1986
|
+
A flag to identify if the recent list should be updated.
|
|
1987
|
+
|
|
1988
|
+
:param obj retry_strategy: (optional)
|
|
1989
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
|
1990
|
+
|
|
1991
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
|
|
1992
|
+
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>`__.
|
|
1993
|
+
|
|
1994
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
|
1995
|
+
|
|
1996
|
+
:return: A :class:`~oci.response.Response` object with data of type None
|
|
1997
|
+
:rtype: :class:`~oci.response.Response`
|
|
1998
|
+
"""
|
|
1999
|
+
resource_path = "/aiDataPlatforms/{aiDataPlatformId}/schemas/{schemaKey}/actions/managePermission"
|
|
2000
|
+
method = "POST"
|
|
2001
|
+
|
|
2002
|
+
# Don't accept unknown kwargs
|
|
2003
|
+
expected_kwargs = [
|
|
2004
|
+
"retry_strategy",
|
|
2005
|
+
"if_match",
|
|
2006
|
+
"opc_request_id",
|
|
2007
|
+
"should_update_recent"
|
|
2008
|
+
]
|
|
2009
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
|
2010
|
+
if extra_kwargs:
|
|
2011
|
+
raise ValueError(
|
|
2012
|
+
"manage_schema_permission got unknown kwargs: {!r}".format(extra_kwargs))
|
|
2013
|
+
|
|
2014
|
+
path_params = {
|
|
2015
|
+
"aiDataPlatformId": ai_data_platform_id,
|
|
2016
|
+
"schemaKey": schema_key
|
|
2017
|
+
}
|
|
2018
|
+
|
|
2019
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
|
2020
|
+
|
|
2021
|
+
for (k, v) in six.iteritems(path_params):
|
|
2022
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
|
2023
|
+
raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
|
|
2024
|
+
|
|
2025
|
+
header_params = {
|
|
2026
|
+
"accept": "application/json",
|
|
2027
|
+
"content-type": "application/json",
|
|
2028
|
+
"if-match": kwargs.get("if_match", missing),
|
|
2029
|
+
"opc-request-id": kwargs.get("opc_request_id", missing),
|
|
2030
|
+
"should-update-recent": kwargs.get("should_update_recent", missing)
|
|
2031
|
+
}
|
|
2032
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
|
2033
|
+
|
|
2034
|
+
retry_strategy = self.retry_strategy
|
|
2035
|
+
if kwargs.get('retry_strategy'):
|
|
2036
|
+
retry_strategy = kwargs.get('retry_strategy')
|
|
2037
|
+
|
|
2038
|
+
if retry_strategy:
|
|
2039
|
+
return retry_strategy.make_retrying_call(
|
|
2040
|
+
self.base_client.call_api,
|
|
2041
|
+
resource_path=resource_path,
|
|
2042
|
+
method=method,
|
|
2043
|
+
path_params=path_params,
|
|
2044
|
+
header_params=header_params,
|
|
2045
|
+
body=manage_schema_permission_details)
|
|
2046
|
+
else:
|
|
2047
|
+
return self.base_client.call_api(
|
|
2048
|
+
resource_path=resource_path,
|
|
2049
|
+
method=method,
|
|
2050
|
+
path_params=path_params,
|
|
2051
|
+
header_params=header_params,
|
|
2052
|
+
body=manage_schema_permission_details)
|
|
2053
|
+
|
|
2054
|
+
def manage_table_permission(self, ai_data_platform_id, table_key, manage_table_permission_details, **kwargs):
|
|
2055
|
+
"""
|
|
2056
|
+
Updates the permissions for a given table.
|
|
2057
|
+
|
|
2058
|
+
|
|
2059
|
+
:param str ai_data_platform_id: (required)
|
|
2060
|
+
The `OCID`__ of the AI Data Platform (Data Lake) instance.
|
|
2061
|
+
|
|
2062
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
|
2063
|
+
|
|
2064
|
+
:param str table_key: (required)
|
|
2065
|
+
The fully qualified name of the table in the format <catalog_name>.<schema_name>.<table_name>.
|
|
2066
|
+
|
|
2067
|
+
:param oci.aidataplatform_dp.models.ManageTablePermissionDetails manage_table_permission_details: (required)
|
|
2068
|
+
The information to be updated.
|
|
2069
|
+
|
|
2070
|
+
:param str if_match: (optional)
|
|
2071
|
+
For optimistic concurrency control. In the PUT or DELETE call for a resource, set the
|
|
2072
|
+
`if-match` parameter to the value of the etag from a previous GET or POST response for
|
|
2073
|
+
that resource. The resource will be updated or deleted only if the etag you provide
|
|
2074
|
+
matches the resource's current etag value.
|
|
2075
|
+
|
|
2076
|
+
:param str opc_request_id: (optional)
|
|
2077
|
+
Unique Oracle-assigned identifier for the request. If you need to contact
|
|
2078
|
+
Oracle about a particular request, please provide the request ID.
|
|
2079
|
+
The only valid characters for request IDs are letters, numbers,
|
|
2080
|
+
underscore, and dash.
|
|
2081
|
+
|
|
2082
|
+
:param bool should_update_recent: (optional)
|
|
2083
|
+
A flag to identify if the recent list should be updated.
|
|
2084
|
+
|
|
2085
|
+
:param obj retry_strategy: (optional)
|
|
2086
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
|
2087
|
+
|
|
2088
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
|
|
2089
|
+
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>`__.
|
|
2090
|
+
|
|
2091
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
|
2092
|
+
|
|
2093
|
+
:return: A :class:`~oci.response.Response` object with data of type None
|
|
2094
|
+
:rtype: :class:`~oci.response.Response`
|
|
2095
|
+
"""
|
|
2096
|
+
resource_path = "/aiDataPlatforms/{aiDataPlatformId}/tables/{tableKey}/actions/managePermission"
|
|
2097
|
+
method = "POST"
|
|
2098
|
+
|
|
2099
|
+
# Don't accept unknown kwargs
|
|
2100
|
+
expected_kwargs = [
|
|
2101
|
+
"retry_strategy",
|
|
2102
|
+
"if_match",
|
|
2103
|
+
"opc_request_id",
|
|
2104
|
+
"should_update_recent"
|
|
2105
|
+
]
|
|
2106
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
|
2107
|
+
if extra_kwargs:
|
|
2108
|
+
raise ValueError(
|
|
2109
|
+
"manage_table_permission got unknown kwargs: {!r}".format(extra_kwargs))
|
|
2110
|
+
|
|
2111
|
+
path_params = {
|
|
2112
|
+
"aiDataPlatformId": ai_data_platform_id,
|
|
2113
|
+
"tableKey": table_key
|
|
2114
|
+
}
|
|
2115
|
+
|
|
2116
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
|
2117
|
+
|
|
2118
|
+
for (k, v) in six.iteritems(path_params):
|
|
2119
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
|
2120
|
+
raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
|
|
2121
|
+
|
|
2122
|
+
header_params = {
|
|
2123
|
+
"accept": "application/json",
|
|
2124
|
+
"content-type": "application/json",
|
|
2125
|
+
"if-match": kwargs.get("if_match", missing),
|
|
2126
|
+
"opc-request-id": kwargs.get("opc_request_id", missing),
|
|
2127
|
+
"should-update-recent": kwargs.get("should_update_recent", missing)
|
|
2128
|
+
}
|
|
2129
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
|
2130
|
+
|
|
2131
|
+
retry_strategy = self.retry_strategy
|
|
2132
|
+
if kwargs.get('retry_strategy'):
|
|
2133
|
+
retry_strategy = kwargs.get('retry_strategy')
|
|
2134
|
+
|
|
2135
|
+
if retry_strategy:
|
|
2136
|
+
return retry_strategy.make_retrying_call(
|
|
2137
|
+
self.base_client.call_api,
|
|
2138
|
+
resource_path=resource_path,
|
|
2139
|
+
method=method,
|
|
2140
|
+
path_params=path_params,
|
|
2141
|
+
header_params=header_params,
|
|
2142
|
+
body=manage_table_permission_details)
|
|
2143
|
+
else:
|
|
2144
|
+
return self.base_client.call_api(
|
|
2145
|
+
resource_path=resource_path,
|
|
2146
|
+
method=method,
|
|
2147
|
+
path_params=path_params,
|
|
2148
|
+
header_params=header_params,
|
|
2149
|
+
body=manage_table_permission_details)
|
|
2150
|
+
|
|
2151
|
+
def manage_view_permission(self, ai_data_platform_id, view_key, manage_view_permission_details, **kwargs):
|
|
2152
|
+
"""
|
|
2153
|
+
Updates permissions on a view.
|
|
2154
|
+
|
|
2155
|
+
|
|
2156
|
+
:param str ai_data_platform_id: (required)
|
|
2157
|
+
The `OCID`__ of the AI Data Platform (Data Lake) instance.
|
|
2158
|
+
|
|
2159
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
|
2160
|
+
|
|
2161
|
+
:param str view_key: (required)
|
|
2162
|
+
The fully qualified name of the view in the format <catalog_name>.<schema_name>.<view_name>.
|
|
2163
|
+
|
|
2164
|
+
:param oci.aidataplatform_dp.models.ManageViewPermissionDetails manage_view_permission_details: (required)
|
|
2165
|
+
The information to be updated.
|
|
2166
|
+
|
|
2167
|
+
:param str if_match: (optional)
|
|
2168
|
+
For optimistic concurrency control. In the PUT or DELETE call for a resource, set the
|
|
2169
|
+
`if-match` parameter to the value of the etag from a previous GET or POST response for
|
|
2170
|
+
that resource. The resource will be updated or deleted only if the etag you provide
|
|
2171
|
+
matches the resource's current etag value.
|
|
2172
|
+
|
|
2173
|
+
:param str opc_request_id: (optional)
|
|
2174
|
+
Unique Oracle-assigned identifier for the request. If you need to contact
|
|
2175
|
+
Oracle about a particular request, please provide the request ID.
|
|
2176
|
+
The only valid characters for request IDs are letters, numbers,
|
|
2177
|
+
underscore, and dash.
|
|
2178
|
+
|
|
2179
|
+
:param bool should_update_recent: (optional)
|
|
2180
|
+
A flag to identify if the recent list should be updated.
|
|
2181
|
+
|
|
2182
|
+
:param obj retry_strategy: (optional)
|
|
2183
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
|
2184
|
+
|
|
2185
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
|
|
2186
|
+
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>`__.
|
|
2187
|
+
|
|
2188
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
|
2189
|
+
|
|
2190
|
+
:return: A :class:`~oci.response.Response` object with data of type None
|
|
2191
|
+
:rtype: :class:`~oci.response.Response`
|
|
2192
|
+
"""
|
|
2193
|
+
resource_path = "/aiDataPlatforms/{aiDataPlatformId}/views/{viewKey}/actions/managePermission"
|
|
2194
|
+
method = "POST"
|
|
2195
|
+
|
|
2196
|
+
# Don't accept unknown kwargs
|
|
2197
|
+
expected_kwargs = [
|
|
2198
|
+
"retry_strategy",
|
|
2199
|
+
"if_match",
|
|
2200
|
+
"opc_request_id",
|
|
2201
|
+
"should_update_recent"
|
|
2202
|
+
]
|
|
2203
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
|
2204
|
+
if extra_kwargs:
|
|
2205
|
+
raise ValueError(
|
|
2206
|
+
"manage_view_permission got unknown kwargs: {!r}".format(extra_kwargs))
|
|
2207
|
+
|
|
2208
|
+
path_params = {
|
|
2209
|
+
"aiDataPlatformId": ai_data_platform_id,
|
|
2210
|
+
"viewKey": view_key
|
|
2211
|
+
}
|
|
2212
|
+
|
|
2213
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
|
2214
|
+
|
|
2215
|
+
for (k, v) in six.iteritems(path_params):
|
|
2216
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
|
2217
|
+
raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
|
|
2218
|
+
|
|
2219
|
+
header_params = {
|
|
2220
|
+
"accept": "application/json",
|
|
2221
|
+
"content-type": "application/json",
|
|
2222
|
+
"if-match": kwargs.get("if_match", missing),
|
|
2223
|
+
"opc-request-id": kwargs.get("opc_request_id", missing),
|
|
2224
|
+
"should-update-recent": kwargs.get("should_update_recent", missing)
|
|
2225
|
+
}
|
|
2226
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
|
2227
|
+
|
|
2228
|
+
retry_strategy = self.retry_strategy
|
|
2229
|
+
if kwargs.get('retry_strategy'):
|
|
2230
|
+
retry_strategy = kwargs.get('retry_strategy')
|
|
2231
|
+
|
|
2232
|
+
if retry_strategy:
|
|
2233
|
+
return retry_strategy.make_retrying_call(
|
|
2234
|
+
self.base_client.call_api,
|
|
2235
|
+
resource_path=resource_path,
|
|
2236
|
+
method=method,
|
|
2237
|
+
path_params=path_params,
|
|
2238
|
+
header_params=header_params,
|
|
2239
|
+
body=manage_view_permission_details)
|
|
2240
|
+
else:
|
|
2241
|
+
return self.base_client.call_api(
|
|
2242
|
+
resource_path=resource_path,
|
|
2243
|
+
method=method,
|
|
2244
|
+
path_params=path_params,
|
|
2245
|
+
header_params=header_params,
|
|
2246
|
+
body=manage_view_permission_details)
|
|
2247
|
+
|
|
2248
|
+
def perform_infer_schema(self, ai_data_platform_id, schema_key, perform_infer_schema_details, **kwargs):
|
|
2249
|
+
"""
|
|
2250
|
+
Returns details of a table schema from the specified location.
|
|
2251
|
+
|
|
2252
|
+
|
|
2253
|
+
:param str ai_data_platform_id: (required)
|
|
2254
|
+
The `OCID`__ of the AI Data Platform (Data Lake) instance.
|
|
2255
|
+
|
|
2256
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
|
2257
|
+
|
|
2258
|
+
:param str schema_key: (required)
|
|
2259
|
+
The fully qualified name of the schema in the format <catalog_name>.<schema_name>.
|
|
2260
|
+
|
|
2261
|
+
:param oci.aidataplatform_dp.models.PerformInferSchemaDetails perform_infer_schema_details: (required)
|
|
2262
|
+
Details of the location from which the table schema can be inferred.
|
|
2263
|
+
|
|
2264
|
+
:param str opc_request_id: (optional)
|
|
2265
|
+
Unique Oracle-assigned identifier for the request. If you need to contact
|
|
2266
|
+
Oracle about a particular request, please provide the request ID.
|
|
2267
|
+
The only valid characters for request IDs are letters, numbers,
|
|
2268
|
+
underscore, and dash.
|
|
2269
|
+
|
|
2270
|
+
:param bool should_update_recent: (optional)
|
|
2271
|
+
A flag to identify if the recent list should be updated.
|
|
2272
|
+
|
|
2273
|
+
:param obj retry_strategy: (optional)
|
|
2274
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
|
2275
|
+
|
|
2276
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
|
|
2277
|
+
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>`__.
|
|
2278
|
+
|
|
2279
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
|
2280
|
+
|
|
2281
|
+
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.aidataplatform_dp.models.InferSchema`
|
|
2282
|
+
:rtype: :class:`~oci.response.Response`
|
|
2283
|
+
"""
|
|
2284
|
+
resource_path = "/aiDataPlatforms/{aiDataPlatformId}/schemas/{schemaKey}/actions/inferSchema"
|
|
2285
|
+
method = "POST"
|
|
2286
|
+
|
|
2287
|
+
# Don't accept unknown kwargs
|
|
2288
|
+
expected_kwargs = [
|
|
2289
|
+
"retry_strategy",
|
|
2290
|
+
"opc_request_id",
|
|
2291
|
+
"should_update_recent"
|
|
2292
|
+
]
|
|
2293
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
|
2294
|
+
if extra_kwargs:
|
|
2295
|
+
raise ValueError(
|
|
2296
|
+
"perform_infer_schema got unknown kwargs: {!r}".format(extra_kwargs))
|
|
2297
|
+
|
|
2298
|
+
path_params = {
|
|
2299
|
+
"aiDataPlatformId": ai_data_platform_id,
|
|
2300
|
+
"schemaKey": schema_key
|
|
2301
|
+
}
|
|
2302
|
+
|
|
2303
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
|
2304
|
+
|
|
2305
|
+
for (k, v) in six.iteritems(path_params):
|
|
2306
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
|
2307
|
+
raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
|
|
2308
|
+
|
|
2309
|
+
header_params = {
|
|
2310
|
+
"accept": "application/json",
|
|
2311
|
+
"content-type": "application/json",
|
|
2312
|
+
"opc-request-id": kwargs.get("opc_request_id", missing),
|
|
2313
|
+
"should-update-recent": kwargs.get("should_update_recent", missing)
|
|
2314
|
+
}
|
|
2315
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
|
2316
|
+
|
|
2317
|
+
retry_strategy = self.retry_strategy
|
|
2318
|
+
if kwargs.get('retry_strategy'):
|
|
2319
|
+
retry_strategy = kwargs.get('retry_strategy')
|
|
2320
|
+
|
|
2321
|
+
if retry_strategy:
|
|
2322
|
+
return retry_strategy.make_retrying_call(
|
|
2323
|
+
self.base_client.call_api,
|
|
2324
|
+
resource_path=resource_path,
|
|
2325
|
+
method=method,
|
|
2326
|
+
path_params=path_params,
|
|
2327
|
+
header_params=header_params,
|
|
2328
|
+
body=perform_infer_schema_details,
|
|
2329
|
+
response_type="InferSchema")
|
|
2330
|
+
else:
|
|
2331
|
+
return self.base_client.call_api(
|
|
2332
|
+
resource_path=resource_path,
|
|
2333
|
+
method=method,
|
|
2334
|
+
path_params=path_params,
|
|
2335
|
+
header_params=header_params,
|
|
2336
|
+
body=perform_infer_schema_details,
|
|
2337
|
+
response_type="InferSchema")
|
|
2338
|
+
|
|
2339
|
+
def perform_infer_schema_with_preview(self, ai_data_platform_id, schema_key, perform_infer_schema_details, **kwargs):
|
|
2340
|
+
"""
|
|
2341
|
+
Returns table schema and data from the specified location.
|
|
2342
|
+
|
|
2343
|
+
|
|
2344
|
+
:param str ai_data_platform_id: (required)
|
|
2345
|
+
The `OCID`__ of the AI Data Platform (Data Lake) instance.
|
|
2346
|
+
|
|
2347
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
|
2348
|
+
|
|
2349
|
+
:param str schema_key: (required)
|
|
2350
|
+
The fully qualified name of the schema in the format <catalog_name>.<schema_name>.
|
|
2351
|
+
|
|
2352
|
+
:param oci.aidataplatform_dp.models.PerformInferSchemaDetails perform_infer_schema_details: (required)
|
|
2353
|
+
Details of the location from which the table schema and data can be inferred.
|
|
2354
|
+
|
|
2355
|
+
:param str opc_request_id: (optional)
|
|
2356
|
+
Unique Oracle-assigned identifier for the request. If you need to contact
|
|
2357
|
+
Oracle about a particular request, please provide the request ID.
|
|
2358
|
+
The only valid characters for request IDs are letters, numbers,
|
|
2359
|
+
underscore, and dash.
|
|
2360
|
+
|
|
2361
|
+
:param bool should_update_recent: (optional)
|
|
2362
|
+
A flag to identify if the recent list should be updated.
|
|
2363
|
+
|
|
2364
|
+
:param obj retry_strategy: (optional)
|
|
2365
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
|
2366
|
+
|
|
2367
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
|
|
2368
|
+
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>`__.
|
|
2369
|
+
|
|
2370
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
|
2371
|
+
|
|
2372
|
+
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.aidataplatform_dp.models.InferSchemaWithPreview`
|
|
2373
|
+
:rtype: :class:`~oci.response.Response`
|
|
2374
|
+
"""
|
|
2375
|
+
resource_path = "/aiDataPlatforms/{aiDataPlatformId}/schemas/{schemaKey}/actions/inferSchemaWithPreview"
|
|
2376
|
+
method = "POST"
|
|
2377
|
+
|
|
2378
|
+
# Don't accept unknown kwargs
|
|
2379
|
+
expected_kwargs = [
|
|
2380
|
+
"retry_strategy",
|
|
2381
|
+
"opc_request_id",
|
|
2382
|
+
"should_update_recent"
|
|
2383
|
+
]
|
|
2384
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
|
2385
|
+
if extra_kwargs:
|
|
2386
|
+
raise ValueError(
|
|
2387
|
+
"perform_infer_schema_with_preview got unknown kwargs: {!r}".format(extra_kwargs))
|
|
2388
|
+
|
|
2389
|
+
path_params = {
|
|
2390
|
+
"aiDataPlatformId": ai_data_platform_id,
|
|
2391
|
+
"schemaKey": schema_key
|
|
2392
|
+
}
|
|
2393
|
+
|
|
2394
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
|
2395
|
+
|
|
2396
|
+
for (k, v) in six.iteritems(path_params):
|
|
2397
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
|
2398
|
+
raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
|
|
2399
|
+
|
|
2400
|
+
header_params = {
|
|
2401
|
+
"accept": "application/json",
|
|
2402
|
+
"content-type": "application/json",
|
|
2403
|
+
"opc-request-id": kwargs.get("opc_request_id", missing),
|
|
2404
|
+
"should-update-recent": kwargs.get("should_update_recent", missing)
|
|
2405
|
+
}
|
|
2406
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
|
2407
|
+
|
|
2408
|
+
retry_strategy = self.retry_strategy
|
|
2409
|
+
if kwargs.get('retry_strategy'):
|
|
2410
|
+
retry_strategy = kwargs.get('retry_strategy')
|
|
2411
|
+
|
|
2412
|
+
if retry_strategy:
|
|
2413
|
+
return retry_strategy.make_retrying_call(
|
|
2414
|
+
self.base_client.call_api,
|
|
2415
|
+
resource_path=resource_path,
|
|
2416
|
+
method=method,
|
|
2417
|
+
path_params=path_params,
|
|
2418
|
+
header_params=header_params,
|
|
2419
|
+
body=perform_infer_schema_details,
|
|
2420
|
+
response_type="InferSchemaWithPreview")
|
|
2421
|
+
else:
|
|
2422
|
+
return self.base_client.call_api(
|
|
2423
|
+
resource_path=resource_path,
|
|
2424
|
+
method=method,
|
|
2425
|
+
path_params=path_params,
|
|
2426
|
+
header_params=header_params,
|
|
2427
|
+
body=perform_infer_schema_details,
|
|
2428
|
+
response_type="InferSchemaWithPreview")
|
|
2429
|
+
|
|
2430
|
+
def refresh_schema(self, ai_data_platform_id, schema_key, **kwargs):
|
|
2431
|
+
"""
|
|
2432
|
+
Refreshes schema in an AI Data Platform Workbench through the crawler.
|
|
2433
|
+
|
|
2434
|
+
|
|
2435
|
+
:param str ai_data_platform_id: (required)
|
|
2436
|
+
The `OCID`__ of the AI Data Platform (Data Lake) instance.
|
|
2437
|
+
|
|
2438
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
|
2439
|
+
|
|
2440
|
+
:param str schema_key: (required)
|
|
2441
|
+
The fully qualified name of the schema in the format <catalog_name>.<schema_name>.
|
|
2442
|
+
|
|
2443
|
+
:param str if_match: (optional)
|
|
2444
|
+
For optimistic concurrency control. In the PUT or DELETE call for a resource, set the
|
|
2445
|
+
`if-match` parameter to the value of the etag from a previous GET or POST response for
|
|
2446
|
+
that resource. The resource will be updated or deleted only if the etag you provide
|
|
2447
|
+
matches the resource's current etag value.
|
|
2448
|
+
|
|
2449
|
+
:param str opc_request_id: (optional)
|
|
2450
|
+
Unique Oracle-assigned identifier for the request. If you need to contact
|
|
2451
|
+
Oracle about a particular request, please provide the request ID.
|
|
2452
|
+
The only valid characters for request IDs are letters, numbers,
|
|
2453
|
+
underscore, and dash.
|
|
2454
|
+
|
|
2455
|
+
:param bool should_update_recent: (optional)
|
|
2456
|
+
A flag to identify if the recent list should be updated.
|
|
2457
|
+
|
|
2458
|
+
:param str opc_retry_token: (optional)
|
|
2459
|
+
A token that uniquely identifies a request so it can be retried in case of a timeout or
|
|
2460
|
+
server error without risk of running that same action again. Retry tokens expire after 24
|
|
2461
|
+
hours, but can be invalidated before then due to conflicting operations. For example, if a resource
|
|
2462
|
+
has been deleted and removed from the system, then a retry of the original creation request
|
|
2463
|
+
might be rejected.
|
|
2464
|
+
|
|
2465
|
+
:param obj retry_strategy: (optional)
|
|
2466
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
|
2467
|
+
|
|
2468
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
|
|
2469
|
+
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>`__.
|
|
2470
|
+
|
|
2471
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
|
2472
|
+
|
|
2473
|
+
:return: A :class:`~oci.response.Response` object with data of type None
|
|
2474
|
+
:rtype: :class:`~oci.response.Response`
|
|
2475
|
+
"""
|
|
2476
|
+
resource_path = "/aiDataPlatforms/{aiDataPlatformId}/schemas/{schemaKey}/actions/refresh"
|
|
2477
|
+
method = "POST"
|
|
2478
|
+
|
|
2479
|
+
# Don't accept unknown kwargs
|
|
2480
|
+
expected_kwargs = [
|
|
2481
|
+
"retry_strategy",
|
|
2482
|
+
"if_match",
|
|
2483
|
+
"opc_request_id",
|
|
2484
|
+
"should_update_recent",
|
|
2485
|
+
"opc_retry_token"
|
|
2486
|
+
]
|
|
2487
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
|
2488
|
+
if extra_kwargs:
|
|
2489
|
+
raise ValueError(
|
|
2490
|
+
"refresh_schema got unknown kwargs: {!r}".format(extra_kwargs))
|
|
2491
|
+
|
|
2492
|
+
path_params = {
|
|
2493
|
+
"aiDataPlatformId": ai_data_platform_id,
|
|
2494
|
+
"schemaKey": schema_key
|
|
2495
|
+
}
|
|
2496
|
+
|
|
2497
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
|
2498
|
+
|
|
2499
|
+
for (k, v) in six.iteritems(path_params):
|
|
2500
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
|
2501
|
+
raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
|
|
2502
|
+
|
|
2503
|
+
header_params = {
|
|
2504
|
+
"accept": "application/json",
|
|
2505
|
+
"content-type": "application/json",
|
|
2506
|
+
"if-match": kwargs.get("if_match", missing),
|
|
2507
|
+
"opc-request-id": kwargs.get("opc_request_id", missing),
|
|
2508
|
+
"should-update-recent": kwargs.get("should_update_recent", missing),
|
|
2509
|
+
"opc-retry-token": kwargs.get("opc_retry_token", missing)
|
|
2510
|
+
}
|
|
2511
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
|
2512
|
+
|
|
2513
|
+
retry_strategy = self.retry_strategy
|
|
2514
|
+
if kwargs.get('retry_strategy'):
|
|
2515
|
+
retry_strategy = kwargs.get('retry_strategy')
|
|
2516
|
+
|
|
2517
|
+
if retry_strategy:
|
|
2518
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
|
2519
|
+
self.base_client.add_opc_retry_token_if_needed(header_params)
|
|
2520
|
+
return retry_strategy.make_retrying_call(
|
|
2521
|
+
self.base_client.call_api,
|
|
2522
|
+
resource_path=resource_path,
|
|
2523
|
+
method=method,
|
|
2524
|
+
path_params=path_params,
|
|
2525
|
+
header_params=header_params)
|
|
2526
|
+
else:
|
|
2527
|
+
return self.base_client.call_api(
|
|
2528
|
+
resource_path=resource_path,
|
|
2529
|
+
method=method,
|
|
2530
|
+
path_params=path_params,
|
|
2531
|
+
header_params=header_params)
|
|
2532
|
+
|
|
2533
|
+
def refresh_table(self, ai_data_platform_id, table_key, **kwargs):
|
|
2534
|
+
"""
|
|
2535
|
+
Refreshes a table in an AI Data Platform Workbench through the crawler.
|
|
2536
|
+
|
|
2537
|
+
|
|
2538
|
+
:param str ai_data_platform_id: (required)
|
|
2539
|
+
The `OCID`__ of the AI Data Platform (Data Lake) instance.
|
|
2540
|
+
|
|
2541
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
|
2542
|
+
|
|
2543
|
+
:param str table_key: (required)
|
|
2544
|
+
The fully qualified name of the table in the format <catalog_name>.<schema_name>.<table_name>.
|
|
2545
|
+
|
|
2546
|
+
:param str if_match: (optional)
|
|
2547
|
+
For optimistic concurrency control. In the PUT or DELETE call for a resource, set the
|
|
2548
|
+
`if-match` parameter to the value of the etag from a previous GET or POST response for
|
|
2549
|
+
that resource. The resource will be updated or deleted only if the etag you provide
|
|
2550
|
+
matches the resource's current etag value.
|
|
2551
|
+
|
|
2552
|
+
:param str opc_request_id: (optional)
|
|
2553
|
+
Unique Oracle-assigned identifier for the request. If you need to contact
|
|
2554
|
+
Oracle about a particular request, please provide the request ID.
|
|
2555
|
+
The only valid characters for request IDs are letters, numbers,
|
|
2556
|
+
underscore, and dash.
|
|
2557
|
+
|
|
2558
|
+
:param bool should_update_recent: (optional)
|
|
2559
|
+
A flag to identify if the recent list should be updated.
|
|
2560
|
+
|
|
2561
|
+
:param str opc_retry_token: (optional)
|
|
2562
|
+
A token that uniquely identifies a request so it can be retried in case of a timeout or
|
|
2563
|
+
server error without risk of running that same action again. Retry tokens expire after 24
|
|
2564
|
+
hours, but can be invalidated before then due to conflicting operations. For example, if a resource
|
|
2565
|
+
has been deleted and removed from the system, then a retry of the original creation request
|
|
2566
|
+
might be rejected.
|
|
2567
|
+
|
|
2568
|
+
:param obj retry_strategy: (optional)
|
|
2569
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
|
2570
|
+
|
|
2571
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
|
|
2572
|
+
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>`__.
|
|
2573
|
+
|
|
2574
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
|
2575
|
+
|
|
2576
|
+
:return: A :class:`~oci.response.Response` object with data of type None
|
|
2577
|
+
:rtype: :class:`~oci.response.Response`
|
|
2578
|
+
"""
|
|
2579
|
+
resource_path = "/aiDataPlatforms/{aiDataPlatformId}/tables/{tableKey}/actions/refresh"
|
|
2580
|
+
method = "POST"
|
|
2581
|
+
|
|
2582
|
+
# Don't accept unknown kwargs
|
|
2583
|
+
expected_kwargs = [
|
|
2584
|
+
"retry_strategy",
|
|
2585
|
+
"if_match",
|
|
2586
|
+
"opc_request_id",
|
|
2587
|
+
"should_update_recent",
|
|
2588
|
+
"opc_retry_token"
|
|
2589
|
+
]
|
|
2590
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
|
2591
|
+
if extra_kwargs:
|
|
2592
|
+
raise ValueError(
|
|
2593
|
+
"refresh_table got unknown kwargs: {!r}".format(extra_kwargs))
|
|
2594
|
+
|
|
2595
|
+
path_params = {
|
|
2596
|
+
"aiDataPlatformId": ai_data_platform_id,
|
|
2597
|
+
"tableKey": table_key
|
|
2598
|
+
}
|
|
2599
|
+
|
|
2600
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
|
2601
|
+
|
|
2602
|
+
for (k, v) in six.iteritems(path_params):
|
|
2603
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
|
2604
|
+
raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
|
|
2605
|
+
|
|
2606
|
+
header_params = {
|
|
2607
|
+
"accept": "application/json",
|
|
2608
|
+
"content-type": "application/json",
|
|
2609
|
+
"if-match": kwargs.get("if_match", missing),
|
|
2610
|
+
"opc-request-id": kwargs.get("opc_request_id", missing),
|
|
2611
|
+
"should-update-recent": kwargs.get("should_update_recent", missing),
|
|
2612
|
+
"opc-retry-token": kwargs.get("opc_retry_token", missing)
|
|
2613
|
+
}
|
|
2614
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
|
2615
|
+
|
|
2616
|
+
retry_strategy = self.retry_strategy
|
|
2617
|
+
if kwargs.get('retry_strategy'):
|
|
2618
|
+
retry_strategy = kwargs.get('retry_strategy')
|
|
2619
|
+
|
|
2620
|
+
if retry_strategy:
|
|
2621
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
|
2622
|
+
self.base_client.add_opc_retry_token_if_needed(header_params)
|
|
2623
|
+
return retry_strategy.make_retrying_call(
|
|
2624
|
+
self.base_client.call_api,
|
|
2625
|
+
resource_path=resource_path,
|
|
2626
|
+
method=method,
|
|
2627
|
+
path_params=path_params,
|
|
2628
|
+
header_params=header_params)
|
|
2629
|
+
else:
|
|
2630
|
+
return self.base_client.call_api(
|
|
2631
|
+
resource_path=resource_path,
|
|
2632
|
+
method=method,
|
|
2633
|
+
path_params=path_params,
|
|
2634
|
+
header_params=header_params)
|
|
2635
|
+
|
|
2636
|
+
def retrieve_par(self, ai_data_platform_id, table_key, **kwargs):
|
|
2637
|
+
"""
|
|
2638
|
+
Retrieve PAR for the entities created in AI Data Platform Workbench.
|
|
2639
|
+
|
|
2640
|
+
|
|
2641
|
+
:param str ai_data_platform_id: (required)
|
|
2642
|
+
The `OCID`__ of the AI Data Platform (Data Lake) instance.
|
|
2643
|
+
|
|
2644
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
|
2645
|
+
|
|
2646
|
+
:param str table_key: (required)
|
|
2647
|
+
The fully qualified name of the table in the format <catalog_name>.<schema_name>.<table_name>.
|
|
2648
|
+
|
|
2649
|
+
:param str if_match: (optional)
|
|
2650
|
+
For optimistic concurrency control. In the PUT or DELETE call for a resource, set the
|
|
2651
|
+
`if-match` parameter to the value of the etag from a previous GET or POST response for
|
|
2652
|
+
that resource. The resource will be updated or deleted only if the etag you provide
|
|
2653
|
+
matches the resource's current etag value.
|
|
2654
|
+
|
|
2655
|
+
:param str opc_request_id: (optional)
|
|
2656
|
+
Unique Oracle-assigned identifier for the request. If you need to contact
|
|
2657
|
+
Oracle about a particular request, please provide the request ID.
|
|
2658
|
+
The only valid characters for request IDs are letters, numbers,
|
|
2659
|
+
underscore, and dash.
|
|
2660
|
+
|
|
2661
|
+
:param bool should_update_recent: (optional)
|
|
2662
|
+
A flag to identify if the recent list should be updated.
|
|
2663
|
+
|
|
2664
|
+
:param obj retry_strategy: (optional)
|
|
2665
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
|
2666
|
+
|
|
2667
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
|
|
2668
|
+
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>`__.
|
|
2669
|
+
|
|
2670
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
|
2671
|
+
|
|
2672
|
+
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.aidataplatform_dp.models.ParDetails`
|
|
2673
|
+
:rtype: :class:`~oci.response.Response`
|
|
2674
|
+
"""
|
|
2675
|
+
resource_path = "/aiDataPlatforms/{aiDataPlatformId}/tables/{tableKey}/actions/getPar"
|
|
2676
|
+
method = "POST"
|
|
2677
|
+
|
|
2678
|
+
# Don't accept unknown kwargs
|
|
2679
|
+
expected_kwargs = [
|
|
2680
|
+
"retry_strategy",
|
|
2681
|
+
"if_match",
|
|
2682
|
+
"opc_request_id",
|
|
2683
|
+
"should_update_recent"
|
|
2684
|
+
]
|
|
2685
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
|
2686
|
+
if extra_kwargs:
|
|
2687
|
+
raise ValueError(
|
|
2688
|
+
"retrieve_par got unknown kwargs: {!r}".format(extra_kwargs))
|
|
2689
|
+
|
|
2690
|
+
path_params = {
|
|
2691
|
+
"aiDataPlatformId": ai_data_platform_id,
|
|
2692
|
+
"tableKey": table_key
|
|
2693
|
+
}
|
|
2694
|
+
|
|
2695
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
|
2696
|
+
|
|
2697
|
+
for (k, v) in six.iteritems(path_params):
|
|
2698
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
|
2699
|
+
raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
|
|
2700
|
+
|
|
2701
|
+
header_params = {
|
|
2702
|
+
"accept": "application/json",
|
|
2703
|
+
"content-type": "application/json",
|
|
2704
|
+
"if-match": kwargs.get("if_match", missing),
|
|
2705
|
+
"opc-request-id": kwargs.get("opc_request_id", missing),
|
|
2706
|
+
"should-update-recent": kwargs.get("should_update_recent", missing)
|
|
2707
|
+
}
|
|
2708
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
|
2709
|
+
|
|
2710
|
+
retry_strategy = self.retry_strategy
|
|
2711
|
+
if kwargs.get('retry_strategy'):
|
|
2712
|
+
retry_strategy = kwargs.get('retry_strategy')
|
|
2713
|
+
|
|
2714
|
+
if retry_strategy:
|
|
2715
|
+
return retry_strategy.make_retrying_call(
|
|
2716
|
+
self.base_client.call_api,
|
|
2717
|
+
resource_path=resource_path,
|
|
2718
|
+
method=method,
|
|
2719
|
+
path_params=path_params,
|
|
2720
|
+
header_params=header_params,
|
|
2721
|
+
response_type="ParDetails")
|
|
2722
|
+
else:
|
|
2723
|
+
return self.base_client.call_api(
|
|
2724
|
+
resource_path=resource_path,
|
|
2725
|
+
method=method,
|
|
2726
|
+
path_params=path_params,
|
|
2727
|
+
header_params=header_params,
|
|
2728
|
+
response_type="ParDetails")
|
|
2729
|
+
|
|
2730
|
+
def update_schema(self, ai_data_platform_id, schema_key, update_schema_details, **kwargs):
|
|
2731
|
+
"""
|
|
2732
|
+
Updates a schema.
|
|
2733
|
+
|
|
2734
|
+
|
|
2735
|
+
:param str ai_data_platform_id: (required)
|
|
2736
|
+
The `OCID`__ of the AI Data Platform (Data Lake) instance.
|
|
2737
|
+
|
|
2738
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
|
2739
|
+
|
|
2740
|
+
:param str schema_key: (required)
|
|
2741
|
+
The fully qualified name of the schema in the format <catalog_name>.<schema_name>.
|
|
2742
|
+
|
|
2743
|
+
:param oci.aidataplatform_dp.models.UpdateSchemaDetails update_schema_details: (required)
|
|
2744
|
+
The information to be updated.
|
|
2745
|
+
|
|
2746
|
+
:param bool should_update_recent: (optional)
|
|
2747
|
+
A flag to identify if the recent list should be updated.
|
|
2748
|
+
|
|
2749
|
+
:param str if_match: (optional)
|
|
2750
|
+
For optimistic concurrency control. In the PUT or DELETE call for a resource, set the
|
|
2751
|
+
`if-match` parameter to the value of the etag from a previous GET or POST response for
|
|
2752
|
+
that resource. The resource will be updated or deleted only if the etag you provide
|
|
2753
|
+
matches the resource's current etag value.
|
|
2754
|
+
|
|
2755
|
+
:param str opc_request_id: (optional)
|
|
2756
|
+
Unique Oracle-assigned identifier for the request. If you need to contact
|
|
2757
|
+
Oracle about a particular request, please provide the request ID.
|
|
2758
|
+
The only valid characters for request IDs are letters, numbers,
|
|
2759
|
+
underscore, and dash.
|
|
2760
|
+
|
|
2761
|
+
:param obj retry_strategy: (optional)
|
|
2762
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
|
2763
|
+
|
|
2764
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
|
|
2765
|
+
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>`__.
|
|
2766
|
+
|
|
2767
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
|
2768
|
+
|
|
2769
|
+
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.aidataplatform_dp.models.Schema`
|
|
2770
|
+
:rtype: :class:`~oci.response.Response`
|
|
2771
|
+
"""
|
|
2772
|
+
resource_path = "/aiDataPlatforms/{aiDataPlatformId}/schemas/{schemaKey}"
|
|
2773
|
+
method = "PUT"
|
|
2774
|
+
|
|
2775
|
+
# Don't accept unknown kwargs
|
|
2776
|
+
expected_kwargs = [
|
|
2777
|
+
"retry_strategy",
|
|
2778
|
+
"should_update_recent",
|
|
2779
|
+
"if_match",
|
|
2780
|
+
"opc_request_id"
|
|
2781
|
+
]
|
|
2782
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
|
2783
|
+
if extra_kwargs:
|
|
2784
|
+
raise ValueError(
|
|
2785
|
+
"update_schema got unknown kwargs: {!r}".format(extra_kwargs))
|
|
2786
|
+
|
|
2787
|
+
path_params = {
|
|
2788
|
+
"aiDataPlatformId": ai_data_platform_id,
|
|
2789
|
+
"schemaKey": schema_key
|
|
2790
|
+
}
|
|
2791
|
+
|
|
2792
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
|
2793
|
+
|
|
2794
|
+
for (k, v) in six.iteritems(path_params):
|
|
2795
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
|
2796
|
+
raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
|
|
2797
|
+
|
|
2798
|
+
header_params = {
|
|
2799
|
+
"accept": "application/json",
|
|
2800
|
+
"content-type": "application/json",
|
|
2801
|
+
"should-update-recent": kwargs.get("should_update_recent", missing),
|
|
2802
|
+
"if-match": kwargs.get("if_match", missing),
|
|
2803
|
+
"opc-request-id": kwargs.get("opc_request_id", missing)
|
|
2804
|
+
}
|
|
2805
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
|
2806
|
+
|
|
2807
|
+
retry_strategy = self.retry_strategy
|
|
2808
|
+
if kwargs.get('retry_strategy'):
|
|
2809
|
+
retry_strategy = kwargs.get('retry_strategy')
|
|
2810
|
+
|
|
2811
|
+
if retry_strategy:
|
|
2812
|
+
return retry_strategy.make_retrying_call(
|
|
2813
|
+
self.base_client.call_api,
|
|
2814
|
+
resource_path=resource_path,
|
|
2815
|
+
method=method,
|
|
2816
|
+
path_params=path_params,
|
|
2817
|
+
header_params=header_params,
|
|
2818
|
+
body=update_schema_details,
|
|
2819
|
+
response_type="Schema")
|
|
2820
|
+
else:
|
|
2821
|
+
return self.base_client.call_api(
|
|
2822
|
+
resource_path=resource_path,
|
|
2823
|
+
method=method,
|
|
2824
|
+
path_params=path_params,
|
|
2825
|
+
header_params=header_params,
|
|
2826
|
+
body=update_schema_details,
|
|
2827
|
+
response_type="Schema")
|
|
2828
|
+
|
|
2829
|
+
def update_table(self, ai_data_platform_id, table_key, update_table_details, **kwargs):
|
|
2830
|
+
"""
|
|
2831
|
+
Updates a table with provided details.
|
|
2832
|
+
|
|
2833
|
+
|
|
2834
|
+
:param str ai_data_platform_id: (required)
|
|
2835
|
+
The `OCID`__ of the AI Data Platform (Data Lake) instance.
|
|
2836
|
+
|
|
2837
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
|
2838
|
+
|
|
2839
|
+
:param str table_key: (required)
|
|
2840
|
+
The fully qualified name of the table in the format <catalog_name>.<schema_name>.<table_name>.
|
|
2841
|
+
|
|
2842
|
+
:param oci.aidataplatform_dp.models.UpdateTableDetails update_table_details: (required)
|
|
2843
|
+
The information to be updated.
|
|
2844
|
+
|
|
2845
|
+
:param bool should_update_recent: (optional)
|
|
2846
|
+
A flag to identify if the recent list should be updated.
|
|
2847
|
+
|
|
2848
|
+
:param str if_match: (optional)
|
|
2849
|
+
For optimistic concurrency control. In the PUT or DELETE call for a resource, set the
|
|
2850
|
+
`if-match` parameter to the value of the etag from a previous GET or POST response for
|
|
2851
|
+
that resource. The resource will be updated or deleted only if the etag you provide
|
|
2852
|
+
matches the resource's current etag value.
|
|
2853
|
+
|
|
2854
|
+
:param str opc_request_id: (optional)
|
|
2855
|
+
Unique Oracle-assigned identifier for the request. If you need to contact
|
|
2856
|
+
Oracle about a particular request, please provide the request ID.
|
|
2857
|
+
The only valid characters for request IDs are letters, numbers,
|
|
2858
|
+
underscore, and dash.
|
|
2859
|
+
|
|
2860
|
+
:param obj retry_strategy: (optional)
|
|
2861
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
|
2862
|
+
|
|
2863
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
|
|
2864
|
+
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>`__.
|
|
2865
|
+
|
|
2866
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
|
2867
|
+
|
|
2868
|
+
:return: A :class:`~oci.response.Response` object with data of type None
|
|
2869
|
+
:rtype: :class:`~oci.response.Response`
|
|
2870
|
+
"""
|
|
2871
|
+
resource_path = "/aiDataPlatforms/{aiDataPlatformId}/tables/{tableKey}"
|
|
2872
|
+
method = "PUT"
|
|
2873
|
+
|
|
2874
|
+
# Don't accept unknown kwargs
|
|
2875
|
+
expected_kwargs = [
|
|
2876
|
+
"retry_strategy",
|
|
2877
|
+
"should_update_recent",
|
|
2878
|
+
"if_match",
|
|
2879
|
+
"opc_request_id"
|
|
2880
|
+
]
|
|
2881
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
|
2882
|
+
if extra_kwargs:
|
|
2883
|
+
raise ValueError(
|
|
2884
|
+
"update_table got unknown kwargs: {!r}".format(extra_kwargs))
|
|
2885
|
+
|
|
2886
|
+
path_params = {
|
|
2887
|
+
"aiDataPlatformId": ai_data_platform_id,
|
|
2888
|
+
"tableKey": table_key
|
|
2889
|
+
}
|
|
2890
|
+
|
|
2891
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
|
2892
|
+
|
|
2893
|
+
for (k, v) in six.iteritems(path_params):
|
|
2894
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
|
2895
|
+
raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
|
|
2896
|
+
|
|
2897
|
+
header_params = {
|
|
2898
|
+
"accept": "application/json",
|
|
2899
|
+
"content-type": "application/json",
|
|
2900
|
+
"should-update-recent": kwargs.get("should_update_recent", missing),
|
|
2901
|
+
"if-match": kwargs.get("if_match", missing),
|
|
2902
|
+
"opc-request-id": kwargs.get("opc_request_id", missing)
|
|
2903
|
+
}
|
|
2904
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
|
2905
|
+
|
|
2906
|
+
retry_strategy = self.retry_strategy
|
|
2907
|
+
if kwargs.get('retry_strategy'):
|
|
2908
|
+
retry_strategy = kwargs.get('retry_strategy')
|
|
2909
|
+
|
|
2910
|
+
if retry_strategy:
|
|
2911
|
+
return retry_strategy.make_retrying_call(
|
|
2912
|
+
self.base_client.call_api,
|
|
2913
|
+
resource_path=resource_path,
|
|
2914
|
+
method=method,
|
|
2915
|
+
path_params=path_params,
|
|
2916
|
+
header_params=header_params,
|
|
2917
|
+
body=update_table_details)
|
|
2918
|
+
else:
|
|
2919
|
+
return self.base_client.call_api(
|
|
2920
|
+
resource_path=resource_path,
|
|
2921
|
+
method=method,
|
|
2922
|
+
path_params=path_params,
|
|
2923
|
+
header_params=header_params,
|
|
2924
|
+
body=update_table_details)
|
|
2925
|
+
|
|
2926
|
+
def update_view(self, ai_data_platform_id, view_key, update_view_details, **kwargs):
|
|
2927
|
+
"""
|
|
2928
|
+
Updates a view with given information.
|
|
2929
|
+
|
|
2930
|
+
|
|
2931
|
+
:param str ai_data_platform_id: (required)
|
|
2932
|
+
The `OCID`__ of the AI Data Platform (Data Lake) instance.
|
|
2933
|
+
|
|
2934
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
|
2935
|
+
|
|
2936
|
+
:param str view_key: (required)
|
|
2937
|
+
The fully qualified name of the view in the format <catalog_name>.<schema_name>.<view_name>.
|
|
2938
|
+
|
|
2939
|
+
:param oci.aidataplatform_dp.models.UpdateViewDetails update_view_details: (required)
|
|
2940
|
+
The update mode and information to be updated.
|
|
2941
|
+
|
|
2942
|
+
:param bool should_update_recent: (optional)
|
|
2943
|
+
A flag to identify if the recent list should be updated.
|
|
2944
|
+
|
|
2945
|
+
:param str if_match: (optional)
|
|
2946
|
+
For optimistic concurrency control. In the PUT or DELETE call for a resource, set the
|
|
2947
|
+
`if-match` parameter to the value of the etag from a previous GET or POST response for
|
|
2948
|
+
that resource. The resource will be updated or deleted only if the etag you provide
|
|
2949
|
+
matches the resource's current etag value.
|
|
2950
|
+
|
|
2951
|
+
:param str opc_request_id: (optional)
|
|
2952
|
+
Unique Oracle-assigned identifier for the request. If you need to contact
|
|
2953
|
+
Oracle about a particular request, please provide the request ID.
|
|
2954
|
+
The only valid characters for request IDs are letters, numbers,
|
|
2955
|
+
underscore, and dash.
|
|
2956
|
+
|
|
2957
|
+
:param obj retry_strategy: (optional)
|
|
2958
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
|
2959
|
+
|
|
2960
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
|
|
2961
|
+
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>`__.
|
|
2962
|
+
|
|
2963
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
|
2964
|
+
|
|
2965
|
+
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.aidataplatform_dp.models.View`
|
|
2966
|
+
:rtype: :class:`~oci.response.Response`
|
|
2967
|
+
"""
|
|
2968
|
+
resource_path = "/aiDataPlatforms/{aiDataPlatformId}/views/{viewKey}"
|
|
2969
|
+
method = "PUT"
|
|
2970
|
+
|
|
2971
|
+
# Don't accept unknown kwargs
|
|
2972
|
+
expected_kwargs = [
|
|
2973
|
+
"retry_strategy",
|
|
2974
|
+
"should_update_recent",
|
|
2975
|
+
"if_match",
|
|
2976
|
+
"opc_request_id"
|
|
2977
|
+
]
|
|
2978
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
|
2979
|
+
if extra_kwargs:
|
|
2980
|
+
raise ValueError(
|
|
2981
|
+
"update_view got unknown kwargs: {!r}".format(extra_kwargs))
|
|
2982
|
+
|
|
2983
|
+
path_params = {
|
|
2984
|
+
"aiDataPlatformId": ai_data_platform_id,
|
|
2985
|
+
"viewKey": view_key
|
|
2986
|
+
}
|
|
2987
|
+
|
|
2988
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
|
2989
|
+
|
|
2990
|
+
for (k, v) in six.iteritems(path_params):
|
|
2991
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
|
2992
|
+
raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
|
|
2993
|
+
|
|
2994
|
+
header_params = {
|
|
2995
|
+
"accept": "application/json",
|
|
2996
|
+
"content-type": "application/json",
|
|
2997
|
+
"should-update-recent": kwargs.get("should_update_recent", missing),
|
|
2998
|
+
"if-match": kwargs.get("if_match", missing),
|
|
2999
|
+
"opc-request-id": kwargs.get("opc_request_id", missing)
|
|
3000
|
+
}
|
|
3001
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
|
3002
|
+
|
|
3003
|
+
retry_strategy = self.retry_strategy
|
|
3004
|
+
if kwargs.get('retry_strategy'):
|
|
3005
|
+
retry_strategy = kwargs.get('retry_strategy')
|
|
3006
|
+
|
|
3007
|
+
if retry_strategy:
|
|
3008
|
+
return retry_strategy.make_retrying_call(
|
|
3009
|
+
self.base_client.call_api,
|
|
3010
|
+
resource_path=resource_path,
|
|
3011
|
+
method=method,
|
|
3012
|
+
path_params=path_params,
|
|
3013
|
+
header_params=header_params,
|
|
3014
|
+
body=update_view_details,
|
|
3015
|
+
response_type="View")
|
|
3016
|
+
else:
|
|
3017
|
+
return self.base_client.call_api(
|
|
3018
|
+
resource_path=resource_path,
|
|
3019
|
+
method=method,
|
|
3020
|
+
path_params=path_params,
|
|
3021
|
+
header_params=header_params,
|
|
3022
|
+
body=update_view_details,
|
|
3023
|
+
response_type="View")
|