oci 2.117.0__py3-none-any.whl → 2.118.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.
- oci/access_governance_cp/access_governance_cp_client.py +8 -8
- oci/adm/application_dependency_management_client.py +36 -36
- oci/ai_anomaly_detection/anomaly_detection_client.py +36 -36
- oci/ai_document/ai_service_document_client.py +22 -22
- oci/ai_language/ai_service_language_client.py +36 -36
- oci/ai_speech/ai_service_speech_client.py +9 -9
- oci/ai_vision/ai_service_vision_client.py +25 -25
- oci/analytics/analytics_client.py +23 -23
- oci/announcements_service/announcement_client.py +4 -4
- oci/announcements_service/announcement_subscription_client.py +9 -9
- oci/announcements_service/announcements_preferences_client.py +4 -4
- oci/apigateway/api_gateway_client.py +21 -21
- oci/apigateway/deployment_client.py +6 -6
- oci/apigateway/gateway_client.py +6 -6
- oci/apigateway/subscribers_client.py +6 -6
- oci/apigateway/usage_plans_client.py +6 -6
- oci/apigateway/work_requests_client.py +5 -5
- oci/apm_config/config_client.py +8 -8
- oci/apm_control_plane/apm_domain_client.py +14 -14
- oci/apm_synthetics/apm_synthetic_client.py +18 -18
- oci/apm_traces/query_client.py +2 -2
- oci/apm_traces/trace_client.py +4 -4
- oci/application_migration/application_migration_client.py +19 -19
- oci/appmgmt_control/appmgmt_control_client.py +8 -8
- oci/artifacts/artifacts_client.py +32 -32
- oci/audit/audit_client.py +3 -3
- oci/autoscaling/auto_scaling_client.py +11 -11
- oci/bastion/bastion_client.py +15 -15
- oci/bds/bds_client.py +51 -51
- oci/blockchain/blockchain_platform_client.py +27 -27
- oci/budget/budget_client.py +10 -10
- oci/certificates/certificates_client.py +5 -5
- oci/certificates_management/certificates_management_client.py +32 -32
- oci/cims/incident_client.py +8 -8
- oci/cims/user_client.py +1 -1
- oci/cloud_bridge/common_client.py +5 -5
- oci/cloud_bridge/discovery_client.py +14 -14
- oci/cloud_bridge/inventory_client.py +16 -16
- oci/cloud_bridge/ocb_agent_svc_client.py +23 -23
- oci/cloud_guard/cloud_guard_client.py +133 -133
- oci/cloud_migrations/migration_client.py +43 -43
- oci/compute_cloud_at_customer/compute_cloud_at_customer_client.py +12 -12
- oci/compute_instance_agent/compute_instance_agent_client.py +6 -6
- oci/compute_instance_agent/plugin_client.py +2 -2
- oci/compute_instance_agent/pluginconfig_client.py +1 -1
- oci/container_engine/container_engine_client.py +44 -44
- oci/container_instances/container_instance_client.py +18 -18
- oci/core/blockstorage_client.py +60 -60
- oci/core/compute_client.py +99 -99
- oci/core/compute_management_client.py +32 -32
- oci/core/models/update_instance_details.py +39 -2
- oci/core/virtual_network_client.py +242 -242
- oci/dashboard_service/dashboard_client.py +6 -6
- oci/dashboard_service/dashboard_group_client.py +6 -6
- oci/data_catalog/data_catalog_client.py +1027 -252
- oci/data_catalog/data_catalog_client_composite_operations.py +276 -0
- oci/data_catalog/models/__init__.py +6 -0
- oci/data_catalog/models/add_resource_lock_details.py +183 -0
- oci/data_catalog/models/catalog.py +76 -2
- oci/data_catalog/models/catalog_private_endpoint.py +76 -2
- oci/data_catalog/models/catalog_private_endpoint_summary.py +76 -2
- oci/data_catalog/models/catalog_summary.py +76 -2
- oci/data_catalog/models/metastore.py +76 -2
- oci/data_catalog/models/metastore_summary.py +76 -2
- oci/data_catalog/models/remove_resource_lock_details.py +183 -0
- oci/data_catalog/models/resource_lock.py +185 -0
- oci/data_flow/data_flow_client.py +42 -42
- oci/data_integration/data_integration_client.py +163 -163
- oci/data_integration/models/__init__.py +8 -0
- oci/data_integration/models/create_task_details.py +31 -0
- oci/data_integration/models/create_task_from_data_loader_task.py +7 -0
- oci/data_integration/models/create_task_from_integration_task.py +7 -0
- oci/data_integration/models/create_task_from_oci_dataflow_task.py +63 -2
- oci/data_integration/models/create_task_from_pipeline_task.py +7 -0
- oci/data_integration/models/create_task_from_rest_task.py +7 -0
- oci/data_integration/models/create_task_from_sql_task.py +7 -0
- oci/data_integration/models/incremental_data_entity_clause.py +170 -0
- oci/data_integration/models/incremental_field_clause.py +170 -0
- oci/data_integration/models/incremental_read_config.py +103 -0
- oci/data_integration/models/json_format_attribute.py +33 -2
- oci/data_integration/models/read_operation_config.py +27 -0
- oci/data_integration/models/runtime_operator.py +2 -2
- oci/data_integration/models/runtime_operator_summary.py +2 -2
- oci/data_integration/models/shape_details.py +68 -0
- oci/data_integration/models/task.py +31 -0
- oci/data_integration/models/task_from_data_loader_task_details.py +7 -0
- oci/data_integration/models/task_from_integration_task_details.py +7 -0
- oci/data_integration/models/task_from_oci_dataflow_task_details.py +63 -2
- oci/data_integration/models/task_from_pipeline_task_details.py +7 -0
- oci/data_integration/models/task_from_rest_task_details.py +7 -0
- oci/data_integration/models/task_from_sql_task_details.py +7 -0
- oci/data_integration/models/task_summary.py +31 -0
- oci/data_integration/models/task_summary_from_data_loader_task.py +7 -0
- oci/data_integration/models/task_summary_from_integration_task.py +7 -0
- oci/data_integration/models/task_summary_from_oci_dataflow_task.py +63 -2
- oci/data_integration/models/task_summary_from_pipeline_task.py +7 -0
- oci/data_integration/models/task_summary_from_rest_task.py +7 -0
- oci/data_integration/models/task_summary_from_sql_task.py +7 -0
- oci/data_integration/models/update_task_details.py +31 -0
- oci/data_integration/models/update_task_from_data_loader_task.py +7 -0
- oci/data_integration/models/update_task_from_integration_task.py +7 -0
- oci/data_integration/models/update_task_from_oci_dataflow_task.py +63 -2
- oci/data_integration/models/update_task_from_pipeline_task.py +7 -0
- oci/data_integration/models/update_task_from_rest_task.py +7 -0
- oci/data_integration/models/update_task_from_sql_task.py +7 -0
- oci/data_labeling_service/data_labeling_management_client.py +17 -17
- oci/data_labeling_service_dataplane/data_labeling_client.py +15 -15
- oci/data_safe/data_safe_client.py +307 -290
- oci/data_safe/data_safe_client_composite_operations.py +5 -5
- oci/data_safe/models/__init__.py +2 -0
- oci/data_safe/models/audit_event_aggregation_dimensions.py +6 -6
- oci/data_safe/models/audit_event_summary.py +14 -14
- oci/data_safe/models/audit_policy_dimensions.py +2 -2
- oci/data_safe/models/change_report_compartment_details.py +1 -1
- oci/data_safe/models/change_sql_firewall_policy_compartment_details.py +2 -2
- oci/data_safe/models/database_security_config.py +1 -1
- oci/data_safe/models/database_security_config_summary.py +1 -1
- oci/data_safe/models/delete_rows_format_entry.py +1 -1
- oci/data_safe/models/deterministic_encryption_date_format_entry.py +1 -1
- oci/data_safe/models/deterministic_encryption_format_entry.py +1 -1
- oci/data_safe/models/deterministic_substitution_format_entry.py +1 -1
- oci/data_safe/models/dimensions.py +33 -2
- oci/data_safe/models/discovery_analytics_summary.py +7 -3
- oci/data_safe/models/entry_details.py +2 -2
- oci/data_safe/models/finding_summary.py +2 -2
- oci/data_safe/models/firewall_policy_entry_details.py +5 -5
- oci/data_safe/models/fixed_number_format_entry.py +1 -1
- oci/data_safe/models/fixed_string_format_entry.py +1 -1
- oci/data_safe/models/format_entry.py +11 -3
- oci/data_safe/models/generate_report_details.py +2 -2
- oci/data_safe/models/library_masking_format_entry.py +1 -1
- oci/data_safe/models/mask_data_details.py +4 -2
- oci/data_safe/models/null_value_format_entry.py +1 -1
- oci/data_safe/models/patch_alerts_details.py +1 -1
- oci/data_safe/models/pattern_format_entry.py +104 -0
- oci/data_safe/models/ppf_format_entry.py +1 -1
- oci/data_safe/models/preserve_original_data_format_entry.py +1 -1
- oci/data_safe/models/random_date_format_entry.py +1 -1
- oci/data_safe/models/random_decimal_number_format_entry.py +1 -1
- oci/data_safe/models/random_digits_format_entry.py +1 -1
- oci/data_safe/models/random_list_format_entry.py +1 -1
- oci/data_safe/models/random_number_format_entry.py +1 -1
- oci/data_safe/models/random_string_format_entry.py +1 -1
- oci/data_safe/models/random_substitution_format_entry.py +1 -1
- oci/data_safe/models/regular_expression_format_entry.py +1 -1
- oci/data_safe/models/report.py +2 -2
- oci/data_safe/models/report_definition.py +8 -8
- oci/data_safe/models/report_summary.py +2 -2
- oci/data_safe/models/schedule_report_details.py +2 -2
- oci/data_safe/models/sdm_masking_policy_difference.py +5 -5
- oci/data_safe/models/sensitive_category.py +7 -0
- oci/data_safe/models/sensitive_type.py +33 -0
- oci/data_safe/models/sensitive_type_pattern.py +7 -0
- oci/data_safe/models/sensitive_type_summary.py +33 -0
- oci/data_safe/models/shuffle_format_entry.py +1 -1
- oci/data_safe/models/sql_expression_format_entry.py +1 -1
- oci/data_safe/models/sql_firewall_allowed_sql_aggregation.py +1 -1
- oci/data_safe/models/sql_firewall_allowed_sql_analytics_collection.py +1 -1
- oci/data_safe/models/sql_firewall_allowed_sql_collection.py +3 -3
- oci/data_safe/models/sql_firewall_allowed_sql_dimensions.py +7 -7
- oci/data_safe/models/sql_firewall_allowed_sql_summary.py +23 -23
- oci/data_safe/models/sql_firewall_config.py +1 -1
- oci/data_safe/models/sql_firewall_policy.py +35 -35
- oci/data_safe/models/sql_firewall_policy_aggregation.py +1 -1
- oci/data_safe/models/sql_firewall_policy_analytics_collection.py +1 -1
- oci/data_safe/models/sql_firewall_policy_collection.py +3 -3
- oci/data_safe/models/sql_firewall_policy_dimensions.py +9 -9
- oci/data_safe/models/sql_firewall_policy_summary.py +29 -29
- oci/data_safe/models/sql_firewall_violation_aggregation_dimensions.py +2 -2
- oci/data_safe/models/substring_format_entry.py +1 -1
- oci/data_safe/models/truncate_table_format_entry.py +1 -1
- oci/data_safe/models/udf_format_entry.py +1 -1
- oci/data_safe/models/update_sql_firewall_config_details.py +1 -1
- oci/data_safe/models/update_sql_firewall_policy_details.py +19 -19
- oci/data_safe/models/work_request.py +11 -3
- oci/data_safe/models/work_request_summary.py +11 -3
- oci/data_science/data_science_client.py +91 -91
- oci/database/database_client.py +327 -327
- oci/database_management/db_management_client.py +182 -182
- oci/database_management/diagnosability_client.py +4 -4
- oci/database_management/managed_my_sql_databases_client.py +6 -6
- oci/database_management/perfhub_client.py +1 -1
- oci/database_management/sql_tuning_client.py +17 -17
- oci/database_migration/database_migration_client.py +41 -41
- oci/database_tools/database_tools_client.py +23 -23
- oci/devops/devops_client.py +89 -89
- oci/disaster_recovery/disaster_recovery_client.py +29 -29
- oci/dns/dns_client.py +52 -52
- oci/dts/appliance_export_job_client.py +6 -6
- oci/dts/shipping_vendors_client.py +1 -1
- oci/dts/transfer_appliance_client.py +8 -8
- oci/dts/transfer_appliance_entitlement_client.py +3 -3
- oci/dts/transfer_device_client.py +5 -5
- oci/dts/transfer_job_client.py +6 -6
- oci/dts/transfer_package_client.py +7 -7
- oci/em_warehouse/em_data_lake_client.py +13 -13
- oci/em_warehouse/em_warehouse_client.py +13 -13
- oci/email/email_client.py +25 -25
- oci/events/events_client.py +6 -6
- oci/file_storage/file_storage_client.py +50 -50
- oci/fleet_software_update/fleet_software_update_client.py +44 -44
- oci/functions/functions_invoke_client.py +1 -1
- oci/functions/functions_management_client.py +16 -16
- oci/fusion_apps/data_masking_activity_client.py +3 -3
- oci/fusion_apps/fusion_applications_client.py +39 -39
- oci/fusion_apps/fusion_environment_client.py +15 -15
- oci/fusion_apps/fusion_environment_family_client.py +8 -8
- oci/fusion_apps/refresh_activity_client.py +4 -4
- oci/fusion_apps/scheduled_activity_client.py +2 -2
- oci/fusion_apps/service_attachment_client.py +2 -2
- oci/generic_artifacts_content/generic_artifacts_content_client.py +3 -3
- oci/golden_gate/golden_gate_client.py +61 -61
- oci/golden_gate/models/amazon_kinesis_connection.py +9 -0
- oci/golden_gate/models/amazon_kinesis_connection_summary.py +8 -0
- oci/golden_gate/models/amazon_redshift_connection.py +9 -0
- oci/golden_gate/models/amazon_redshift_connection_summary.py +8 -0
- oci/golden_gate/models/amazon_s3_connection.py +9 -0
- oci/golden_gate/models/amazon_s3_connection_summary.py +8 -0
- oci/golden_gate/models/azure_data_lake_storage_connection.py +9 -0
- oci/golden_gate/models/azure_data_lake_storage_connection_summary.py +8 -0
- oci/golden_gate/models/azure_synapse_connection.py +9 -0
- oci/golden_gate/models/azure_synapse_connection_summary.py +8 -0
- oci/golden_gate/models/connection.py +61 -4
- oci/golden_gate/models/connection_summary.py +61 -4
- oci/golden_gate/models/create_amazon_kinesis_connection_details.py +8 -0
- oci/golden_gate/models/create_amazon_redshift_connection_details.py +8 -0
- oci/golden_gate/models/create_amazon_s3_connection_details.py +8 -0
- oci/golden_gate/models/create_azure_data_lake_storage_connection_details.py +8 -0
- oci/golden_gate/models/create_azure_synapse_connection_details.py +8 -0
- oci/golden_gate/models/create_connection_details.py +61 -4
- oci/golden_gate/models/create_database_registration_details.py +2 -2
- oci/golden_gate/models/create_deployment_details.py +41 -2
- oci/golden_gate/models/create_elasticsearch_connection_details.py +8 -0
- oci/golden_gate/models/create_generic_connection_details.py +8 -0
- oci/golden_gate/models/create_golden_gate_connection_details.py +14 -0
- oci/golden_gate/models/create_google_big_query_connection_details.py +8 -0
- oci/golden_gate/models/create_google_cloud_storage_connection_details.py +8 -0
- oci/golden_gate/models/create_hdfs_connection_details.py +8 -0
- oci/golden_gate/models/create_java_message_service_connection_details.py +14 -0
- oci/golden_gate/models/create_kafka_connection_details.py +8 -0
- oci/golden_gate/models/create_kafka_schema_registry_connection_details.py +14 -0
- oci/golden_gate/models/create_microsoft_sqlserver_connection_details.py +14 -0
- oci/golden_gate/models/create_mongo_db_connection_details.py +8 -0
- oci/golden_gate/models/create_mysql_connection_details.py +14 -0
- oci/golden_gate/models/create_oci_object_storage_connection_details.py +8 -0
- oci/golden_gate/models/create_oracle_connection_details.py +14 -0
- oci/golden_gate/models/create_oracle_nosql_connection_details.py +8 -0
- oci/golden_gate/models/create_postgresql_connection_details.py +14 -0
- oci/golden_gate/models/create_redis_connection_details.py +8 -0
- oci/golden_gate/models/create_snowflake_connection_details.py +8 -0
- oci/golden_gate/models/database_registration.py +2 -2
- oci/golden_gate/models/database_registration_summary.py +2 -2
- oci/golden_gate/models/deployment.py +113 -4
- oci/golden_gate/models/deployment_summary.py +78 -2
- oci/golden_gate/models/elasticsearch_connection.py +9 -0
- oci/golden_gate/models/elasticsearch_connection_summary.py +8 -0
- oci/golden_gate/models/generic_connection.py +9 -0
- oci/golden_gate/models/generic_connection_summary.py +8 -0
- oci/golden_gate/models/golden_gate_connection.py +15 -0
- oci/golden_gate/models/golden_gate_connection_summary.py +14 -0
- oci/golden_gate/models/google_big_query_connection.py +9 -0
- oci/golden_gate/models/google_big_query_connection_summary.py +8 -0
- oci/golden_gate/models/google_cloud_storage_connection.py +9 -0
- oci/golden_gate/models/google_cloud_storage_connection_summary.py +8 -0
- oci/golden_gate/models/hdfs_connection.py +9 -0
- oci/golden_gate/models/hdfs_connection_summary.py +8 -0
- oci/golden_gate/models/java_message_service_connection.py +15 -0
- oci/golden_gate/models/java_message_service_connection_summary.py +14 -0
- oci/golden_gate/models/kafka_bootstrap_server.py +6 -0
- oci/golden_gate/models/kafka_connection.py +9 -0
- oci/golden_gate/models/kafka_connection_summary.py +8 -0
- oci/golden_gate/models/kafka_schema_registry_connection.py +15 -0
- oci/golden_gate/models/kafka_schema_registry_connection_summary.py +14 -0
- oci/golden_gate/models/microsoft_sqlserver_connection.py +15 -0
- oci/golden_gate/models/microsoft_sqlserver_connection_summary.py +14 -0
- oci/golden_gate/models/mongo_db_connection.py +9 -0
- oci/golden_gate/models/mongo_db_connection_summary.py +8 -0
- oci/golden_gate/models/mysql_connection.py +15 -0
- oci/golden_gate/models/mysql_connection_summary.py +14 -0
- oci/golden_gate/models/oci_object_storage_connection.py +9 -0
- oci/golden_gate/models/oci_object_storage_connection_summary.py +8 -0
- oci/golden_gate/models/oracle_connection.py +15 -0
- oci/golden_gate/models/oracle_connection_summary.py +14 -0
- oci/golden_gate/models/oracle_nosql_connection.py +9 -0
- oci/golden_gate/models/oracle_nosql_connection_summary.py +8 -0
- oci/golden_gate/models/postgresql_connection.py +15 -0
- oci/golden_gate/models/postgresql_connection_summary.py +14 -0
- oci/golden_gate/models/redis_connection.py +9 -0
- oci/golden_gate/models/redis_connection_summary.py +8 -0
- oci/golden_gate/models/snowflake_connection.py +9 -0
- oci/golden_gate/models/snowflake_connection_summary.py +8 -0
- oci/golden_gate/models/update_amazon_kinesis_connection_details.py +15 -0
- oci/golden_gate/models/update_amazon_redshift_connection_details.py +15 -0
- oci/golden_gate/models/update_amazon_s3_connection_details.py +15 -0
- oci/golden_gate/models/update_azure_data_lake_storage_connection_details.py +15 -0
- oci/golden_gate/models/update_azure_synapse_connection_details.py +15 -0
- oci/golden_gate/models/update_connection_details.py +94 -2
- oci/golden_gate/models/update_deployment_details.py +2 -2
- oci/golden_gate/models/update_elasticsearch_connection_details.py +15 -0
- oci/golden_gate/models/update_generic_connection_details.py +15 -0
- oci/golden_gate/models/update_golden_gate_connection_details.py +21 -0
- oci/golden_gate/models/update_google_big_query_connection_details.py +15 -0
- oci/golden_gate/models/update_google_cloud_storage_connection_details.py +15 -0
- oci/golden_gate/models/update_hdfs_connection_details.py +15 -0
- oci/golden_gate/models/update_java_message_service_connection_details.py +21 -0
- oci/golden_gate/models/update_kafka_connection_details.py +15 -0
- oci/golden_gate/models/update_kafka_schema_registry_connection_details.py +21 -0
- oci/golden_gate/models/update_microsoft_sqlserver_connection_details.py +21 -0
- oci/golden_gate/models/update_mongo_db_connection_details.py +15 -0
- oci/golden_gate/models/update_mysql_connection_details.py +21 -0
- oci/golden_gate/models/update_oci_object_storage_connection_details.py +15 -0
- oci/golden_gate/models/update_oracle_connection_details.py +21 -0
- oci/golden_gate/models/update_oracle_nosql_connection_details.py +15 -0
- oci/golden_gate/models/update_postgresql_connection_details.py +21 -0
- oci/golden_gate/models/update_redis_connection_details.py +15 -0
- oci/golden_gate/models/update_snowflake_connection_details.py +15 -0
- oci/governance_rules_control_plane/governance_rule_client.py +15 -15
- oci/governance_rules_control_plane/work_request_client.py +5 -5
- oci/healthchecks/health_checks_client.py +17 -17
- oci/identity/identity_client.py +145 -145
- oci/identity_data_plane/dataplane_client.py +2 -2
- oci/identity_domains/identity_domains_client.py +1901 -1029
- oci/identity_domains/models/__init__.py +8 -0
- oci/identity_domains/models/extension_user_user.py +59 -0
- oci/identity_domains/models/identity_propagation_trust.py +1623 -0
- oci/identity_domains/models/identity_propagation_trust_impersonation_service_users.py +243 -0
- oci/identity_domains/models/identity_propagation_trust_keytab.py +153 -0
- oci/identity_domains/models/identity_propagation_trusts.py +196 -0
- oci/identity_domains/models/me.py +1 -1
- oci/identity_domains/models/me_name.py +4 -4
- oci/identity_domains/models/user.py +1 -1
- oci/identity_domains/models/user_name.py +4 -4
- oci/integration/integration_instance_client.py +15 -15
- oci/jms/java_management_service_client.py +66 -66
- oci/jms_java_downloads/java_download_client.py +25 -25
- oci/key_management/ekm_client.py +5 -5
- oci/key_management/kms_crypto_client.py +6 -6
- oci/key_management/kms_management_client.py +21 -21
- oci/key_management/kms_vault_client.py +14 -14
- oci/license_manager/license_manager_client.py +18 -18
- oci/limits/limits_client.py +4 -4
- oci/limits/quotas_client.py +7 -7
- oci/load_balancer/load_balancer_client.py +61 -61
- oci/lockbox/lockbox_client.py +23 -23
- oci/log_analytics/log_analytics_client.py +193 -193
- oci/logging/logging_management_client.py +30 -30
- oci/loggingingestion/logging_client.py +1 -1
- oci/loggingsearch/log_search_client.py +1 -1
- oci/management_agent/management_agent_client.py +23 -23
- oci/management_dashboard/dashx_apis_client.py +14 -14
- oci/marketplace/account_client.py +2 -2
- oci/marketplace/marketplace_client.py +30 -30
- oci/marketplace_publisher/marketplace_publisher_client.py +71 -71
- oci/media_services/media_services_client.py +48 -48
- oci/media_services/media_stream_client.py +2 -2
- oci/monitoring/monitoring_client.py +13 -13
- oci/mysql/channels_client.py +7 -7
- oci/mysql/db_backups_client.py +6 -6
- oci/mysql/db_system_client.py +17 -17
- oci/mysql/mysqlaas_client.py +7 -7
- oci/mysql/replicas_client.py +5 -5
- oci/mysql/work_requests_client.py +4 -4
- oci/network_firewall/network_firewall_client.py +80 -80
- oci/network_load_balancer/network_load_balancer_client.py +34 -34
- oci/nosql/nosql_client.py +24 -24
- oci/object_storage/object_storage_client.py +50 -50
- oci/oce/oce_instance_client.py +10 -10
- oci/oci_control_center/occ_metrics_client.py +3 -3
- oci/ocvp/cluster_client.py +5 -5
- oci/ocvp/esxi_host_client.py +8 -8
- oci/ocvp/sddc_client.py +14 -14
- oci/ocvp/work_request_client.py +4 -4
- oci/oda/management_client.py +56 -56
- oci/oda/oda_client.py +17 -17
- oci/oda/odapackage_client.py +7 -7
- oci/onesubscription/billing_schedule_client.py +1 -1
- oci/onesubscription/commitment_client.py +2 -2
- oci/onesubscription/computed_usage_client.py +3 -3
- oci/onesubscription/invoice_summary_client.py +2 -2
- oci/onesubscription/organization_subscription_client.py +1 -1
- oci/onesubscription/ratecard_client.py +1 -1
- oci/onesubscription/subscribed_service_client.py +2 -2
- oci/onesubscription/subscription_client.py +1 -1
- oci/ons/notification_control_plane_client.py +6 -6
- oci/ons/notification_data_plane_client.py +10 -10
- oci/opa/opa_instance_client.py +11 -11
- oci/opensearch/opensearch_cluster_backup_client.py +4 -4
- oci/opensearch/opensearch_cluster_client.py +14 -14
- oci/operator_access_control/access_requests_client.py +9 -9
- oci/operator_access_control/operator_actions_client.py +2 -2
- oci/operator_access_control/operator_control_assignment_client.py +6 -6
- oci/operator_access_control/operator_control_client.py +6 -6
- oci/opsi/operations_insights_client.py +173 -173
- oci/optimizer/models/create_profile_details.py +33 -0
- oci/optimizer/models/profile.py +33 -0
- oci/optimizer/models/profile_summary.py +33 -0
- oci/optimizer/models/update_profile_details.py +33 -0
- oci/optimizer/optimizer_client.py +129 -53
- oci/os_management/event_client.py +8 -8
- oci/os_management/os_management_client.py +69 -69
- oci/os_management_hub/lifecycle_environment_client.py +11 -11
- oci/os_management_hub/managed_instance_client.py +22 -22
- oci/os_management_hub/managed_instance_group_client.py +22 -22
- oci/os_management_hub/management_station_client.py +8 -8
- oci/os_management_hub/onboarding_client.py +5 -5
- oci/os_management_hub/reporting_managed_instance_client.py +3 -3
- oci/os_management_hub/scheduled_job_client.py +6 -6
- oci/os_management_hub/software_source_client.py +22 -22
- oci/os_management_hub/work_request_client.py +4 -4
- oci/osp_gateway/address_rule_service_client.py +1 -1
- oci/osp_gateway/address_service_client.py +2 -2
- oci/osp_gateway/invoice_service_client.py +5 -5
- oci/osp_gateway/subscription_service_client.py +5 -5
- oci/osub_billing_schedule/billing_schedule_client.py +1 -1
- oci/osub_organization_subscription/organization_subscription_client.py +1 -1
- oci/osub_subscription/commitment_client.py +2 -2
- oci/osub_subscription/ratecard_client.py +1 -1
- oci/osub_subscription/subscription_client.py +1 -1
- oci/osub_usage/computed_usage_client.py +3 -3
- oci/psql/models/backup.py +53 -21
- oci/psql/models/backup_policy.py +5 -5
- oci/psql/models/backup_source_details.py +10 -5
- oci/psql/models/backup_summary.py +47 -19
- oci/psql/models/change_backup_compartment_details.py +7 -5
- oci/psql/models/change_configuration_compartment_details.py +7 -5
- oci/psql/models/change_db_system_compartment_details.py +3 -3
- oci/psql/models/config_overrides.py +5 -5
- oci/psql/models/config_params.py +17 -17
- oci/psql/models/configuration.py +37 -21
- oci/psql/models/configuration_collection.py +2 -2
- oci/psql/models/configuration_details.py +1 -1
- oci/psql/models/configuration_summary.py +39 -19
- oci/psql/models/connection_details.py +5 -5
- oci/psql/models/create_backup_details.py +13 -9
- oci/psql/models/create_configuration_details.py +21 -15
- oci/psql/models/create_db_instance_details.py +9 -9
- oci/psql/models/create_db_system_details.py +35 -25
- oci/psql/models/credentials.py +3 -3
- oci/psql/models/daily_backup_policy.py +3 -3
- oci/psql/models/db_configuration_override_collection.py +3 -3
- oci/psql/models/db_instance.py +35 -15
- oci/psql/models/db_instance_endpoint.py +3 -3
- oci/psql/models/db_system.py +63 -33
- oci/psql/models/db_system_collection.py +3 -3
- oci/psql/models/db_system_details.py +5 -5
- oci/psql/models/db_system_summary.py +57 -27
- oci/psql/models/default_config_params.py +15 -15
- oci/psql/models/default_configuration.py +31 -19
- oci/psql/models/default_configuration_collection.py +2 -2
- oci/psql/models/default_configuration_details.py +1 -1
- oci/psql/models/default_configuration_summary.py +29 -17
- oci/psql/models/endpoint.py +7 -7
- oci/psql/models/failover_db_system_details.py +13 -9
- oci/psql/models/management_policy.py +1 -1
- oci/psql/models/management_policy_details.py +1 -1
- oci/psql/models/monthly_backup_policy.py +5 -5
- oci/psql/models/network_details.py +15 -7
- oci/psql/models/none_backup_policy.py +1 -1
- oci/psql/models/none_source_details.py +1 -1
- oci/psql/models/oci_optimized_storage_details.py +3 -3
- oci/psql/models/password_details.py +4 -4
- oci/psql/models/patch_db_system_details.py +2 -2
- oci/psql/models/plain_text_password_details.py +3 -3
- oci/psql/models/primary_db_instance_details.py +3 -3
- oci/psql/models/reset_master_user_password_details.py +2 -2
- oci/psql/models/restart_db_instance_in_db_system_details.py +5 -5
- oci/psql/models/restore_db_system_details.py +11 -7
- oci/psql/models/shape_collection.py +3 -3
- oci/psql/models/shape_summary.py +11 -9
- oci/psql/models/source_details.py +1 -1
- oci/psql/models/storage_details.py +13 -13
- oci/psql/models/update_backup_details.py +4 -4
- oci/psql/models/update_configuration_details.py +73 -7
- oci/psql/models/update_db_config_params.py +11 -7
- oci/psql/models/update_db_system_db_instance_details.py +5 -5
- oci/psql/models/update_db_system_details.py +4 -4
- oci/psql/models/update_storage_details_params.py +5 -5
- oci/psql/models/vault_secret_password_details.py +9 -5
- oci/psql/models/weekly_backup_policy.py +5 -5
- oci/psql/models/work_request.py +19 -9
- oci/psql/models/work_request_error.py +12 -6
- oci/psql/models/work_request_error_collection.py +2 -2
- oci/psql/models/work_request_log_entry.py +6 -2
- oci/psql/models/work_request_log_entry_collection.py +2 -2
- oci/psql/models/work_request_resource.py +4 -4
- oci/psql/models/work_request_summary.py +18 -8
- oci/psql/models/work_request_summary_collection.py +2 -2
- oci/psql/postgresql_client.py +186 -127
- oci/psql/postgresql_client_composite_operations.py +23 -69
- oci/queue/queue_admin_client.py +11 -11
- oci/queue/queue_client.py +8 -8
- oci/recovery/database_recovery_client.py +23 -23
- oci/redis/redis_cluster_client.py +11 -11
- oci/resource_manager/resource_manager_client.py +52 -52
- oci/resource_search/resource_search_client.py +3 -3
- oci/rover/rover_bundle_client.py +8 -8
- oci/rover/rover_cluster_client.py +8 -8
- oci/rover/rover_entitlement_client.py +6 -6
- oci/rover/rover_node_client.py +15 -15
- oci/rover/shape_client.py +1 -1
- oci/rover/work_requests_client.py +5 -5
- oci/sch/service_connector_client.py +12 -12
- oci/secrets/secrets_client.py +3 -3
- oci/service_catalog/service_catalog_client.py +26 -26
- oci/service_manager_proxy/service_manager_proxy_client.py +2 -2
- oci/service_mesh/service_mesh_client.py +48 -48
- oci/stack_monitoring/models/discovery_details.py +7 -3
- oci/stack_monitoring/models/discovery_job_summary.py +7 -3
- oci/stack_monitoring/stack_monitoring_client.py +58 -58
- oci/streaming/stream_admin_client.py +18 -18
- oci/streaming/stream_client.py +8 -8
- oci/tenant_manager_control_plane/domain_client.py +5 -5
- oci/tenant_manager_control_plane/domain_governance_client.py +5 -5
- oci/tenant_manager_control_plane/governance_client.py +2 -2
- oci/tenant_manager_control_plane/link_client.py +3 -3
- oci/tenant_manager_control_plane/orders_client.py +2 -2
- oci/tenant_manager_control_plane/organization_client.py +10 -10
- oci/tenant_manager_control_plane/recipient_invitation_client.py +5 -5
- oci/tenant_manager_control_plane/sender_invitation_client.py +5 -5
- oci/tenant_manager_control_plane/subscription_client.py +11 -11
- oci/tenant_manager_control_plane/work_request_client.py +4 -4
- oci/threat_intelligence/threatintel_client.py +5 -5
- oci/usage/resources_client.py +2 -2
- oci/usage/rewards_client.py +6 -6
- oci/usage/usagelimits_client.py +1 -1
- oci/usage_api/models/__init__.py +24 -0
- oci/usage_api/models/average_carbon_emission.py +103 -0
- oci/usage_api/models/clean_energy_usage.py +134 -0
- oci/usage_api/models/create_schedule_details.py +4 -4
- oci/usage_api/models/create_usage_carbon_emissions_query_details.py +99 -0
- oci/usage_api/models/request_usage_carbon_emissions_details.py +297 -0
- oci/usage_api/models/schedule.py +4 -4
- oci/usage_api/models/update_schedule_details.py +2 -2
- oci/usage_api/models/update_usage_carbon_emissions_query_details.py +68 -0
- oci/usage_api/models/usage_carbon_emission_aggregation.py +103 -0
- oci/usage_api/models/usage_carbon_emission_summary.py +630 -0
- oci/usage_api/models/usage_carbon_emissions_query.py +130 -0
- oci/usage_api/models/usage_carbon_emissions_query_collection.py +72 -0
- oci/usage_api/models/usage_carbon_emissions_query_definition.py +157 -0
- oci/usage_api/models/usage_carbon_emissions_query_summary.py +99 -0
- oci/usage_api/models/usage_carbon_emissions_report_query.py +356 -0
- oci/usage_api/usageapi_client.py +1151 -210
- oci/vault/vaults_client.py +11 -11
- oci/vbs_inst/vbs_instance_client.py +10 -10
- oci/version.py +1 -1
- oci/visual_builder/vb_instance_client.py +13 -13
- oci/vn_monitoring/vn_monitoring_client.py +12 -12
- oci/vulnerability_scanning/vulnerability_scanning_client.py +58 -58
- oci/waa/waa_client.py +13 -13
- oci/waa/work_request_client.py +4 -4
- oci/waas/redirect_client.py +6 -6
- oci/waas/waas_client.py +66 -66
- oci/waf/waf_client.py +24 -24
- oci/work_requests/work_request_client.py +4 -4
- {oci-2.117.0.dist-info → oci-2.118.0.dist-info}/METADATA +1 -1
- {oci-2.117.0.dist-info → oci-2.118.0.dist-info}/RECORD +560 -536
- {oci-2.117.0.dist-info → oci-2.118.0.dist-info}/LICENSE.txt +0 -0
- {oci-2.117.0.dist-info → oci-2.118.0.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
- {oci-2.117.0.dist-info → oci-2.118.0.dist-info}/WHEEL +0 -0
- {oci-2.117.0.dist-info → oci-2.118.0.dist-info}/top_level.txt +0 -0
@@ -117,6 +117,224 @@ class DataCatalogClient(object):
|
|
117
117
|
self.retry_strategy = kwargs.get('retry_strategy')
|
118
118
|
self.circuit_breaker_callback = kwargs.get('circuit_breaker_callback')
|
119
119
|
|
120
|
+
def add_catalog_lock(self, catalog_id, add_resource_lock_details, **kwargs):
|
121
|
+
"""
|
122
|
+
Adds a lock to a Catalog resource.
|
123
|
+
|
124
|
+
|
125
|
+
:param str catalog_id: (required)
|
126
|
+
Unique catalog identifier.
|
127
|
+
|
128
|
+
:param oci.data_catalog.models.AddResourceLockDetails add_resource_lock_details: (required)
|
129
|
+
AddResourceLockDetails body parameter
|
130
|
+
|
131
|
+
:param str opc_request_id: (optional)
|
132
|
+
Unique identifier for the request.
|
133
|
+
If you need to contact Oracle about a particular request, please provide the request ID.
|
134
|
+
|
135
|
+
:param str if_match: (optional)
|
136
|
+
For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
|
137
|
+
parameter to the value of the etag from a previous GET or POST response for that resource. The resource
|
138
|
+
will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
139
|
+
|
140
|
+
:param obj retry_strategy: (optional)
|
141
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
142
|
+
|
143
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
|
144
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
145
|
+
|
146
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
147
|
+
|
148
|
+
:param bool allow_control_chars: (optional)
|
149
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
150
|
+
By default, the response will not allow control characters in strings
|
151
|
+
|
152
|
+
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.data_catalog.models.Catalog`
|
153
|
+
:rtype: :class:`~oci.response.Response`
|
154
|
+
|
155
|
+
:example:
|
156
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/add_catalog_lock.py.html>`__ to see an example of how to use add_catalog_lock API.
|
157
|
+
"""
|
158
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
159
|
+
required_arguments = ['catalogId']
|
160
|
+
resource_path = "/catalogs/{catalogId}/actions/addLock"
|
161
|
+
method = "POST"
|
162
|
+
operation_name = "add_catalog_lock"
|
163
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/data-catalog/20190325/Catalog/AddCatalogLock"
|
164
|
+
|
165
|
+
# Don't accept unknown kwargs
|
166
|
+
expected_kwargs = [
|
167
|
+
"allow_control_chars",
|
168
|
+
"retry_strategy",
|
169
|
+
"opc_request_id",
|
170
|
+
"if_match"
|
171
|
+
]
|
172
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
173
|
+
if extra_kwargs:
|
174
|
+
raise ValueError(
|
175
|
+
f"add_catalog_lock got unknown kwargs: {extra_kwargs!r}")
|
176
|
+
|
177
|
+
path_params = {
|
178
|
+
"catalogId": catalog_id
|
179
|
+
}
|
180
|
+
|
181
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
182
|
+
|
183
|
+
for (k, v) in six.iteritems(path_params):
|
184
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
185
|
+
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
186
|
+
|
187
|
+
header_params = {
|
188
|
+
"accept": "application/json",
|
189
|
+
"content-type": "application/json",
|
190
|
+
"opc-request-id": kwargs.get("opc_request_id", missing),
|
191
|
+
"if-match": kwargs.get("if_match", missing)
|
192
|
+
}
|
193
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
194
|
+
|
195
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
196
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
197
|
+
client_retry_strategy=self.retry_strategy
|
198
|
+
)
|
199
|
+
|
200
|
+
if retry_strategy:
|
201
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
202
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
203
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
204
|
+
return retry_strategy.make_retrying_call(
|
205
|
+
self.base_client.call_api,
|
206
|
+
resource_path=resource_path,
|
207
|
+
method=method,
|
208
|
+
path_params=path_params,
|
209
|
+
header_params=header_params,
|
210
|
+
body=add_resource_lock_details,
|
211
|
+
response_type="Catalog",
|
212
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
213
|
+
operation_name=operation_name,
|
214
|
+
api_reference_link=api_reference_link,
|
215
|
+
required_arguments=required_arguments)
|
216
|
+
else:
|
217
|
+
return self.base_client.call_api(
|
218
|
+
resource_path=resource_path,
|
219
|
+
method=method,
|
220
|
+
path_params=path_params,
|
221
|
+
header_params=header_params,
|
222
|
+
body=add_resource_lock_details,
|
223
|
+
response_type="Catalog",
|
224
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
225
|
+
operation_name=operation_name,
|
226
|
+
api_reference_link=api_reference_link,
|
227
|
+
required_arguments=required_arguments)
|
228
|
+
|
229
|
+
def add_catalog_private_endpoint_lock(self, catalog_private_endpoint_id, add_resource_lock_details, **kwargs):
|
230
|
+
"""
|
231
|
+
Adds a lock to a CatalogPrivateEndpoint resource.
|
232
|
+
|
233
|
+
|
234
|
+
:param str catalog_private_endpoint_id: (required)
|
235
|
+
Unique private reverse connection identifier.
|
236
|
+
|
237
|
+
:param oci.data_catalog.models.AddResourceLockDetails add_resource_lock_details: (required)
|
238
|
+
AddResourceLockDetails body parameter
|
239
|
+
|
240
|
+
:param str opc_request_id: (optional)
|
241
|
+
Unique identifier for the request.
|
242
|
+
If you need to contact Oracle about a particular request, please provide the request ID.
|
243
|
+
|
244
|
+
:param str if_match: (optional)
|
245
|
+
For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
|
246
|
+
parameter to the value of the etag from a previous GET or POST response for that resource. The resource
|
247
|
+
will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
248
|
+
|
249
|
+
:param obj retry_strategy: (optional)
|
250
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
251
|
+
|
252
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
|
253
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
254
|
+
|
255
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
256
|
+
|
257
|
+
:param bool allow_control_chars: (optional)
|
258
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
259
|
+
By default, the response will not allow control characters in strings
|
260
|
+
|
261
|
+
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.data_catalog.models.CatalogPrivateEndpoint`
|
262
|
+
:rtype: :class:`~oci.response.Response`
|
263
|
+
|
264
|
+
:example:
|
265
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/add_catalog_private_endpoint_lock.py.html>`__ to see an example of how to use add_catalog_private_endpoint_lock API.
|
266
|
+
"""
|
267
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
268
|
+
required_arguments = ['catalogPrivateEndpointId']
|
269
|
+
resource_path = "/catalogPrivateEndpoints/{catalogPrivateEndpointId}/actions/addLock"
|
270
|
+
method = "POST"
|
271
|
+
operation_name = "add_catalog_private_endpoint_lock"
|
272
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/data-catalog/20190325/CatalogPrivateEndpoint/AddCatalogPrivateEndpointLock"
|
273
|
+
|
274
|
+
# Don't accept unknown kwargs
|
275
|
+
expected_kwargs = [
|
276
|
+
"allow_control_chars",
|
277
|
+
"retry_strategy",
|
278
|
+
"opc_request_id",
|
279
|
+
"if_match"
|
280
|
+
]
|
281
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
282
|
+
if extra_kwargs:
|
283
|
+
raise ValueError(
|
284
|
+
f"add_catalog_private_endpoint_lock got unknown kwargs: {extra_kwargs!r}")
|
285
|
+
|
286
|
+
path_params = {
|
287
|
+
"catalogPrivateEndpointId": catalog_private_endpoint_id
|
288
|
+
}
|
289
|
+
|
290
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
291
|
+
|
292
|
+
for (k, v) in six.iteritems(path_params):
|
293
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
294
|
+
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
295
|
+
|
296
|
+
header_params = {
|
297
|
+
"accept": "application/json",
|
298
|
+
"content-type": "application/json",
|
299
|
+
"opc-request-id": kwargs.get("opc_request_id", missing),
|
300
|
+
"if-match": kwargs.get("if_match", missing)
|
301
|
+
}
|
302
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
303
|
+
|
304
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
305
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
306
|
+
client_retry_strategy=self.retry_strategy
|
307
|
+
)
|
308
|
+
|
309
|
+
if retry_strategy:
|
310
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
311
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
312
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
313
|
+
return retry_strategy.make_retrying_call(
|
314
|
+
self.base_client.call_api,
|
315
|
+
resource_path=resource_path,
|
316
|
+
method=method,
|
317
|
+
path_params=path_params,
|
318
|
+
header_params=header_params,
|
319
|
+
body=add_resource_lock_details,
|
320
|
+
response_type="CatalogPrivateEndpoint",
|
321
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
322
|
+
operation_name=operation_name,
|
323
|
+
api_reference_link=api_reference_link,
|
324
|
+
required_arguments=required_arguments)
|
325
|
+
else:
|
326
|
+
return self.base_client.call_api(
|
327
|
+
resource_path=resource_path,
|
328
|
+
method=method,
|
329
|
+
path_params=path_params,
|
330
|
+
header_params=header_params,
|
331
|
+
body=add_resource_lock_details,
|
332
|
+
response_type="CatalogPrivateEndpoint",
|
333
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
334
|
+
operation_name=operation_name,
|
335
|
+
api_reference_link=api_reference_link,
|
336
|
+
required_arguments=required_arguments)
|
337
|
+
|
120
338
|
def add_data_selector_patterns(self, catalog_id, data_asset_key, data_selector_pattern_details, **kwargs):
|
121
339
|
"""
|
122
340
|
Add data selector pattern to the data asset.
|
@@ -164,7 +382,7 @@ class DataCatalogClient(object):
|
|
164
382
|
:rtype: :class:`~oci.response.Response`
|
165
383
|
|
166
384
|
:example:
|
167
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
385
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/add_data_selector_patterns.py.html>`__ to see an example of how to use add_data_selector_patterns API.
|
168
386
|
"""
|
169
387
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
170
388
|
required_arguments = ['catalogId', 'dataAssetKey']
|
@@ -241,6 +459,115 @@ class DataCatalogClient(object):
|
|
241
459
|
api_reference_link=api_reference_link,
|
242
460
|
required_arguments=required_arguments)
|
243
461
|
|
462
|
+
def add_metastore_lock(self, metastore_id, add_resource_lock_details, **kwargs):
|
463
|
+
"""
|
464
|
+
Adds a lock to a Metastore resource.
|
465
|
+
|
466
|
+
|
467
|
+
:param str metastore_id: (required)
|
468
|
+
The metastore's OCID.
|
469
|
+
|
470
|
+
:param oci.data_catalog.models.AddResourceLockDetails add_resource_lock_details: (required)
|
471
|
+
AddResourceLockDetails body parameter
|
472
|
+
|
473
|
+
:param str opc_request_id: (optional)
|
474
|
+
Unique identifier for the request.
|
475
|
+
If you need to contact Oracle about a particular request, please provide the request ID.
|
476
|
+
|
477
|
+
:param str if_match: (optional)
|
478
|
+
For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
|
479
|
+
parameter to the value of the etag from a previous GET or POST response for that resource. The resource
|
480
|
+
will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
481
|
+
|
482
|
+
:param obj retry_strategy: (optional)
|
483
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
484
|
+
|
485
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
|
486
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
487
|
+
|
488
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
489
|
+
|
490
|
+
:param bool allow_control_chars: (optional)
|
491
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
492
|
+
By default, the response will not allow control characters in strings
|
493
|
+
|
494
|
+
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.data_catalog.models.Metastore`
|
495
|
+
:rtype: :class:`~oci.response.Response`
|
496
|
+
|
497
|
+
:example:
|
498
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/add_metastore_lock.py.html>`__ to see an example of how to use add_metastore_lock API.
|
499
|
+
"""
|
500
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
501
|
+
required_arguments = ['metastoreId']
|
502
|
+
resource_path = "/metastores/{metastoreId}/actions/addLock"
|
503
|
+
method = "POST"
|
504
|
+
operation_name = "add_metastore_lock"
|
505
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/data-catalog/20190325/Metastore/AddMetastoreLock"
|
506
|
+
|
507
|
+
# Don't accept unknown kwargs
|
508
|
+
expected_kwargs = [
|
509
|
+
"allow_control_chars",
|
510
|
+
"retry_strategy",
|
511
|
+
"opc_request_id",
|
512
|
+
"if_match"
|
513
|
+
]
|
514
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
515
|
+
if extra_kwargs:
|
516
|
+
raise ValueError(
|
517
|
+
f"add_metastore_lock got unknown kwargs: {extra_kwargs!r}")
|
518
|
+
|
519
|
+
path_params = {
|
520
|
+
"metastoreId": metastore_id
|
521
|
+
}
|
522
|
+
|
523
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
524
|
+
|
525
|
+
for (k, v) in six.iteritems(path_params):
|
526
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
527
|
+
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
528
|
+
|
529
|
+
header_params = {
|
530
|
+
"accept": "application/json",
|
531
|
+
"content-type": "application/json",
|
532
|
+
"opc-request-id": kwargs.get("opc_request_id", missing),
|
533
|
+
"if-match": kwargs.get("if_match", missing)
|
534
|
+
}
|
535
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
536
|
+
|
537
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
538
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
539
|
+
client_retry_strategy=self.retry_strategy
|
540
|
+
)
|
541
|
+
|
542
|
+
if retry_strategy:
|
543
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
544
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
545
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
546
|
+
return retry_strategy.make_retrying_call(
|
547
|
+
self.base_client.call_api,
|
548
|
+
resource_path=resource_path,
|
549
|
+
method=method,
|
550
|
+
path_params=path_params,
|
551
|
+
header_params=header_params,
|
552
|
+
body=add_resource_lock_details,
|
553
|
+
response_type="Metastore",
|
554
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
555
|
+
operation_name=operation_name,
|
556
|
+
api_reference_link=api_reference_link,
|
557
|
+
required_arguments=required_arguments)
|
558
|
+
else:
|
559
|
+
return self.base_client.call_api(
|
560
|
+
resource_path=resource_path,
|
561
|
+
method=method,
|
562
|
+
path_params=path_params,
|
563
|
+
header_params=header_params,
|
564
|
+
body=add_resource_lock_details,
|
565
|
+
response_type="Metastore",
|
566
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
567
|
+
operation_name=operation_name,
|
568
|
+
api_reference_link=api_reference_link,
|
569
|
+
required_arguments=required_arguments)
|
570
|
+
|
244
571
|
def associate_custom_property(self, catalog_id, type_key, associate_custom_property_details, **kwargs):
|
245
572
|
"""
|
246
573
|
Associate the custom property for the given type
|
@@ -288,7 +615,7 @@ class DataCatalogClient(object):
|
|
288
615
|
:rtype: :class:`~oci.response.Response`
|
289
616
|
|
290
617
|
:example:
|
291
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
618
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/associate_custom_property.py.html>`__ to see an example of how to use associate_custom_property API.
|
292
619
|
"""
|
293
620
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
294
621
|
required_arguments = ['catalogId', 'typeKey']
|
@@ -405,7 +732,7 @@ class DataCatalogClient(object):
|
|
405
732
|
:rtype: :class:`~oci.response.Response`
|
406
733
|
|
407
734
|
:example:
|
408
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
735
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/asynchronous_export_glossary.py.html>`__ to see an example of how to use asynchronous_export_glossary API.
|
409
736
|
"""
|
410
737
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
411
738
|
required_arguments = ['catalogId', 'glossaryKey']
|
@@ -508,6 +835,9 @@ class DataCatalogClient(object):
|
|
508
835
|
has been deleted and purged from the system, then a retry of the original creation request
|
509
836
|
might be rejected.
|
510
837
|
|
838
|
+
:param bool is_lock_override: (optional)
|
839
|
+
Whether to override locks (if any exist).
|
840
|
+
|
511
841
|
:param obj retry_strategy: (optional)
|
512
842
|
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
513
843
|
|
@@ -524,7 +854,7 @@ class DataCatalogClient(object):
|
|
524
854
|
:rtype: :class:`~oci.response.Response`
|
525
855
|
|
526
856
|
:example:
|
527
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
857
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/attach_catalog_private_endpoint.py.html>`__ to see an example of how to use attach_catalog_private_endpoint API.
|
528
858
|
"""
|
529
859
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
530
860
|
required_arguments = ['catalogId']
|
@@ -539,7 +869,8 @@ class DataCatalogClient(object):
|
|
539
869
|
"retry_strategy",
|
540
870
|
"if_match",
|
541
871
|
"opc_request_id",
|
542
|
-
"opc_retry_token"
|
872
|
+
"opc_retry_token",
|
873
|
+
"is_lock_override"
|
543
874
|
]
|
544
875
|
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
545
876
|
if extra_kwargs:
|
@@ -556,6 +887,11 @@ class DataCatalogClient(object):
|
|
556
887
|
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
557
888
|
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
558
889
|
|
890
|
+
query_params = {
|
891
|
+
"isLockOverride": kwargs.get("is_lock_override", missing)
|
892
|
+
}
|
893
|
+
query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
|
894
|
+
|
559
895
|
header_params = {
|
560
896
|
"accept": "application/json",
|
561
897
|
"content-type": "application/json",
|
@@ -580,6 +916,7 @@ class DataCatalogClient(object):
|
|
580
916
|
resource_path=resource_path,
|
581
917
|
method=method,
|
582
918
|
path_params=path_params,
|
919
|
+
query_params=query_params,
|
583
920
|
header_params=header_params,
|
584
921
|
body=attach_catalog_private_endpoint_details,
|
585
922
|
allow_control_chars=kwargs.get('allow_control_chars'),
|
@@ -591,6 +928,7 @@ class DataCatalogClient(object):
|
|
591
928
|
resource_path=resource_path,
|
592
929
|
method=method,
|
593
930
|
path_params=path_params,
|
931
|
+
query_params=query_params,
|
594
932
|
header_params=header_params,
|
595
933
|
body=attach_catalog_private_endpoint_details,
|
596
934
|
allow_control_chars=kwargs.get('allow_control_chars'),
|
@@ -619,6 +957,9 @@ class DataCatalogClient(object):
|
|
619
957
|
:param str opc_request_id: (optional)
|
620
958
|
The client request ID for tracing.
|
621
959
|
|
960
|
+
:param bool is_lock_override: (optional)
|
961
|
+
Whether to override locks (if any exist).
|
962
|
+
|
622
963
|
:param obj retry_strategy: (optional)
|
623
964
|
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
624
965
|
|
@@ -635,7 +976,7 @@ class DataCatalogClient(object):
|
|
635
976
|
:rtype: :class:`~oci.response.Response`
|
636
977
|
|
637
978
|
:example:
|
638
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
979
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/change_catalog_compartment.py.html>`__ to see an example of how to use change_catalog_compartment API.
|
639
980
|
"""
|
640
981
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
641
982
|
required_arguments = ['catalogId']
|
@@ -649,7 +990,8 @@ class DataCatalogClient(object):
|
|
649
990
|
"allow_control_chars",
|
650
991
|
"retry_strategy",
|
651
992
|
"if_match",
|
652
|
-
"opc_request_id"
|
993
|
+
"opc_request_id",
|
994
|
+
"is_lock_override"
|
653
995
|
]
|
654
996
|
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
655
997
|
if extra_kwargs:
|
@@ -666,6 +1008,11 @@ class DataCatalogClient(object):
|
|
666
1008
|
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
667
1009
|
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
668
1010
|
|
1011
|
+
query_params = {
|
1012
|
+
"isLockOverride": kwargs.get("is_lock_override", missing)
|
1013
|
+
}
|
1014
|
+
query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
|
1015
|
+
|
669
1016
|
header_params = {
|
670
1017
|
"accept": "application/json",
|
671
1018
|
"content-type": "application/json",
|
@@ -688,6 +1035,7 @@ class DataCatalogClient(object):
|
|
688
1035
|
resource_path=resource_path,
|
689
1036
|
method=method,
|
690
1037
|
path_params=path_params,
|
1038
|
+
query_params=query_params,
|
691
1039
|
header_params=header_params,
|
692
1040
|
body=change_catalog_compartment_details,
|
693
1041
|
allow_control_chars=kwargs.get('allow_control_chars'),
|
@@ -699,6 +1047,7 @@ class DataCatalogClient(object):
|
|
699
1047
|
resource_path=resource_path,
|
700
1048
|
method=method,
|
701
1049
|
path_params=path_params,
|
1050
|
+
query_params=query_params,
|
702
1051
|
header_params=header_params,
|
703
1052
|
body=change_catalog_compartment_details,
|
704
1053
|
allow_control_chars=kwargs.get('allow_control_chars'),
|
@@ -727,6 +1076,9 @@ class DataCatalogClient(object):
|
|
727
1076
|
:param str opc_request_id: (optional)
|
728
1077
|
The client request ID for tracing.
|
729
1078
|
|
1079
|
+
:param bool is_lock_override: (optional)
|
1080
|
+
Whether to override locks (if any exist).
|
1081
|
+
|
730
1082
|
:param obj retry_strategy: (optional)
|
731
1083
|
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
732
1084
|
|
@@ -743,7 +1095,7 @@ class DataCatalogClient(object):
|
|
743
1095
|
:rtype: :class:`~oci.response.Response`
|
744
1096
|
|
745
1097
|
:example:
|
746
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1098
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/change_catalog_private_endpoint_compartment.py.html>`__ to see an example of how to use change_catalog_private_endpoint_compartment API.
|
747
1099
|
"""
|
748
1100
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
749
1101
|
required_arguments = ['catalogPrivateEndpointId']
|
@@ -757,7 +1109,8 @@ class DataCatalogClient(object):
|
|
757
1109
|
"allow_control_chars",
|
758
1110
|
"retry_strategy",
|
759
1111
|
"if_match",
|
760
|
-
"opc_request_id"
|
1112
|
+
"opc_request_id",
|
1113
|
+
"is_lock_override"
|
761
1114
|
]
|
762
1115
|
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
763
1116
|
if extra_kwargs:
|
@@ -774,6 +1127,11 @@ class DataCatalogClient(object):
|
|
774
1127
|
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
775
1128
|
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
776
1129
|
|
1130
|
+
query_params = {
|
1131
|
+
"isLockOverride": kwargs.get("is_lock_override", missing)
|
1132
|
+
}
|
1133
|
+
query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
|
1134
|
+
|
777
1135
|
header_params = {
|
778
1136
|
"accept": "application/json",
|
779
1137
|
"content-type": "application/json",
|
@@ -796,6 +1154,7 @@ class DataCatalogClient(object):
|
|
796
1154
|
resource_path=resource_path,
|
797
1155
|
method=method,
|
798
1156
|
path_params=path_params,
|
1157
|
+
query_params=query_params,
|
799
1158
|
header_params=header_params,
|
800
1159
|
body=change_catalog_private_endpoint_compartment_details,
|
801
1160
|
allow_control_chars=kwargs.get('allow_control_chars'),
|
@@ -807,6 +1166,7 @@ class DataCatalogClient(object):
|
|
807
1166
|
resource_path=resource_path,
|
808
1167
|
method=method,
|
809
1168
|
path_params=path_params,
|
1169
|
+
query_params=query_params,
|
810
1170
|
header_params=header_params,
|
811
1171
|
body=change_catalog_private_endpoint_compartment_details,
|
812
1172
|
allow_control_chars=kwargs.get('allow_control_chars'),
|
@@ -835,6 +1195,9 @@ class DataCatalogClient(object):
|
|
835
1195
|
:param str opc_request_id: (optional)
|
836
1196
|
The client request ID for tracing.
|
837
1197
|
|
1198
|
+
:param bool is_lock_override: (optional)
|
1199
|
+
Whether to override locks (if any exist).
|
1200
|
+
|
838
1201
|
:param obj retry_strategy: (optional)
|
839
1202
|
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
840
1203
|
|
@@ -851,7 +1214,7 @@ class DataCatalogClient(object):
|
|
851
1214
|
:rtype: :class:`~oci.response.Response`
|
852
1215
|
|
853
1216
|
:example:
|
854
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1217
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/change_metastore_compartment.py.html>`__ to see an example of how to use change_metastore_compartment API.
|
855
1218
|
"""
|
856
1219
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
857
1220
|
required_arguments = ['metastoreId']
|
@@ -865,7 +1228,8 @@ class DataCatalogClient(object):
|
|
865
1228
|
"allow_control_chars",
|
866
1229
|
"retry_strategy",
|
867
1230
|
"if_match",
|
868
|
-
"opc_request_id"
|
1231
|
+
"opc_request_id",
|
1232
|
+
"is_lock_override"
|
869
1233
|
]
|
870
1234
|
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
871
1235
|
if extra_kwargs:
|
@@ -882,6 +1246,11 @@ class DataCatalogClient(object):
|
|
882
1246
|
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
883
1247
|
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
884
1248
|
|
1249
|
+
query_params = {
|
1250
|
+
"isLockOverride": kwargs.get("is_lock_override", missing)
|
1251
|
+
}
|
1252
|
+
query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
|
1253
|
+
|
885
1254
|
header_params = {
|
886
1255
|
"accept": "application/json",
|
887
1256
|
"content-type": "application/json",
|
@@ -904,6 +1273,7 @@ class DataCatalogClient(object):
|
|
904
1273
|
resource_path=resource_path,
|
905
1274
|
method=method,
|
906
1275
|
path_params=path_params,
|
1276
|
+
query_params=query_params,
|
907
1277
|
header_params=header_params,
|
908
1278
|
body=change_metastore_compartment_details,
|
909
1279
|
allow_control_chars=kwargs.get('allow_control_chars'),
|
@@ -915,6 +1285,7 @@ class DataCatalogClient(object):
|
|
915
1285
|
resource_path=resource_path,
|
916
1286
|
method=method,
|
917
1287
|
path_params=path_params,
|
1288
|
+
query_params=query_params,
|
918
1289
|
header_params=header_params,
|
919
1290
|
body=change_metastore_compartment_details,
|
920
1291
|
allow_control_chars=kwargs.get('allow_control_chars'),
|
@@ -965,7 +1336,7 @@ class DataCatalogClient(object):
|
|
965
1336
|
:rtype: :class:`~oci.response.Response`
|
966
1337
|
|
967
1338
|
:example:
|
968
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1339
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/create_attribute.py.html>`__ to see an example of how to use create_attribute API.
|
969
1340
|
"""
|
970
1341
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
971
1342
|
required_arguments = ['catalogId', 'dataAssetKey', 'entityKey']
|
@@ -1087,7 +1458,7 @@ class DataCatalogClient(object):
|
|
1087
1458
|
:rtype: :class:`~oci.response.Response`
|
1088
1459
|
|
1089
1460
|
:example:
|
1090
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1461
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/create_attribute_tag.py.html>`__ to see an example of how to use create_attribute_tag API.
|
1091
1462
|
"""
|
1092
1463
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1093
1464
|
required_arguments = ['catalogId', 'dataAssetKey', 'entityKey', 'attributeKey']
|
@@ -1199,7 +1570,7 @@ class DataCatalogClient(object):
|
|
1199
1570
|
:rtype: :class:`~oci.response.Response`
|
1200
1571
|
|
1201
1572
|
:example:
|
1202
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1573
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/create_catalog.py.html>`__ to see an example of how to use create_catalog API.
|
1203
1574
|
"""
|
1204
1575
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1205
1576
|
required_arguments = []
|
@@ -1293,7 +1664,7 @@ class DataCatalogClient(object):
|
|
1293
1664
|
:rtype: :class:`~oci.response.Response`
|
1294
1665
|
|
1295
1666
|
:example:
|
1296
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1667
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/create_catalog_private_endpoint.py.html>`__ to see an example of how to use create_catalog_private_endpoint API.
|
1297
1668
|
"""
|
1298
1669
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1299
1670
|
required_arguments = []
|
@@ -1393,7 +1764,7 @@ class DataCatalogClient(object):
|
|
1393
1764
|
:rtype: :class:`~oci.response.Response`
|
1394
1765
|
|
1395
1766
|
:example:
|
1396
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1767
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/create_connection.py.html>`__ to see an example of how to use create_connection API.
|
1397
1768
|
"""
|
1398
1769
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1399
1770
|
required_arguments = ['catalogId', 'dataAssetKey']
|
@@ -1508,7 +1879,7 @@ class DataCatalogClient(object):
|
|
1508
1879
|
:rtype: :class:`~oci.response.Response`
|
1509
1880
|
|
1510
1881
|
:example:
|
1511
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1882
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/create_custom_property.py.html>`__ to see an example of how to use create_custom_property API.
|
1512
1883
|
"""
|
1513
1884
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1514
1885
|
required_arguments = ['catalogId', 'namespaceId']
|
@@ -1620,7 +1991,7 @@ class DataCatalogClient(object):
|
|
1620
1991
|
:rtype: :class:`~oci.response.Response`
|
1621
1992
|
|
1622
1993
|
:example:
|
1623
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1994
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/create_data_asset.py.html>`__ to see an example of how to use create_data_asset API.
|
1624
1995
|
"""
|
1625
1996
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1626
1997
|
required_arguments = ['catalogId']
|
@@ -1734,7 +2105,7 @@ class DataCatalogClient(object):
|
|
1734
2105
|
:rtype: :class:`~oci.response.Response`
|
1735
2106
|
|
1736
2107
|
:example:
|
1737
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2108
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/create_data_asset_tag.py.html>`__ to see an example of how to use create_data_asset_tag API.
|
1738
2109
|
"""
|
1739
2110
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1740
2111
|
required_arguments = ['catalogId', 'dataAssetKey']
|
@@ -1849,7 +2220,7 @@ class DataCatalogClient(object):
|
|
1849
2220
|
:rtype: :class:`~oci.response.Response`
|
1850
2221
|
|
1851
2222
|
:example:
|
1852
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2223
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/create_entity.py.html>`__ to see an example of how to use create_entity API.
|
1853
2224
|
"""
|
1854
2225
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1855
2226
|
required_arguments = ['catalogId', 'dataAssetKey']
|
@@ -1967,7 +2338,7 @@ class DataCatalogClient(object):
|
|
1967
2338
|
:rtype: :class:`~oci.response.Response`
|
1968
2339
|
|
1969
2340
|
:example:
|
1970
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2341
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/create_entity_tag.py.html>`__ to see an example of how to use create_entity_tag API.
|
1971
2342
|
"""
|
1972
2343
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1973
2344
|
required_arguments = ['catalogId', 'dataAssetKey', 'entityKey']
|
@@ -2083,7 +2454,7 @@ class DataCatalogClient(object):
|
|
2083
2454
|
:rtype: :class:`~oci.response.Response`
|
2084
2455
|
|
2085
2456
|
:example:
|
2086
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2457
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/create_folder.py.html>`__ to see an example of how to use create_folder API.
|
2087
2458
|
"""
|
2088
2459
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2089
2460
|
required_arguments = ['catalogId', 'dataAssetKey']
|
@@ -2201,7 +2572,7 @@ class DataCatalogClient(object):
|
|
2201
2572
|
:rtype: :class:`~oci.response.Response`
|
2202
2573
|
|
2203
2574
|
:example:
|
2204
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2575
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/create_folder_tag.py.html>`__ to see an example of how to use create_folder_tag API.
|
2205
2576
|
"""
|
2206
2577
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2207
2578
|
required_arguments = ['catalogId', 'dataAssetKey', 'folderKey']
|
@@ -2314,7 +2685,7 @@ class DataCatalogClient(object):
|
|
2314
2685
|
:rtype: :class:`~oci.response.Response`
|
2315
2686
|
|
2316
2687
|
:example:
|
2317
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2688
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/create_glossary.py.html>`__ to see an example of how to use create_glossary API.
|
2318
2689
|
"""
|
2319
2690
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2320
2691
|
required_arguments = ['catalogId']
|
@@ -2425,7 +2796,7 @@ class DataCatalogClient(object):
|
|
2425
2796
|
:rtype: :class:`~oci.response.Response`
|
2426
2797
|
|
2427
2798
|
:example:
|
2428
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2799
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/create_job.py.html>`__ to see an example of how to use create_job API.
|
2429
2800
|
"""
|
2430
2801
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2431
2802
|
required_arguments = ['catalogId']
|
@@ -2536,7 +2907,7 @@ class DataCatalogClient(object):
|
|
2536
2907
|
:rtype: :class:`~oci.response.Response`
|
2537
2908
|
|
2538
2909
|
:example:
|
2539
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2910
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/create_job_definition.py.html>`__ to see an example of how to use create_job_definition API.
|
2540
2911
|
"""
|
2541
2912
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2542
2913
|
required_arguments = ['catalogId']
|
@@ -2650,7 +3021,7 @@ class DataCatalogClient(object):
|
|
2650
3021
|
:rtype: :class:`~oci.response.Response`
|
2651
3022
|
|
2652
3023
|
:example:
|
2653
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3024
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/create_job_execution.py.html>`__ to see an example of how to use create_job_execution API.
|
2654
3025
|
"""
|
2655
3026
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2656
3027
|
required_arguments = ['catalogId', 'jobKey']
|
@@ -2759,7 +3130,7 @@ class DataCatalogClient(object):
|
|
2759
3130
|
:rtype: :class:`~oci.response.Response`
|
2760
3131
|
|
2761
3132
|
:example:
|
2762
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3133
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/create_metastore.py.html>`__ to see an example of how to use create_metastore API.
|
2763
3134
|
"""
|
2764
3135
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2765
3136
|
required_arguments = []
|
@@ -2856,7 +3227,7 @@ class DataCatalogClient(object):
|
|
2856
3227
|
:rtype: :class:`~oci.response.Response`
|
2857
3228
|
|
2858
3229
|
:example:
|
2859
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3230
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/create_namespace.py.html>`__ to see an example of how to use create_namespace API.
|
2860
3231
|
"""
|
2861
3232
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2862
3233
|
required_arguments = ['catalogId']
|
@@ -2967,7 +3338,7 @@ class DataCatalogClient(object):
|
|
2967
3338
|
:rtype: :class:`~oci.response.Response`
|
2968
3339
|
|
2969
3340
|
:example:
|
2970
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3341
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/create_pattern.py.html>`__ to see an example of how to use create_pattern API.
|
2971
3342
|
"""
|
2972
3343
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2973
3344
|
required_arguments = ['catalogId']
|
@@ -3081,7 +3452,7 @@ class DataCatalogClient(object):
|
|
3081
3452
|
:rtype: :class:`~oci.response.Response`
|
3082
3453
|
|
3083
3454
|
:example:
|
3084
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3455
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/create_term.py.html>`__ to see an example of how to use create_term API.
|
3085
3456
|
"""
|
3086
3457
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3087
3458
|
required_arguments = ['catalogId', 'glossaryKey']
|
@@ -3199,7 +3570,7 @@ class DataCatalogClient(object):
|
|
3199
3570
|
:rtype: :class:`~oci.response.Response`
|
3200
3571
|
|
3201
3572
|
:example:
|
3202
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3573
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/create_term_relationship.py.html>`__ to see an example of how to use create_term_relationship API.
|
3203
3574
|
"""
|
3204
3575
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3205
3576
|
required_arguments = ['catalogId', 'glossaryKey', 'termKey']
|
@@ -3318,7 +3689,7 @@ class DataCatalogClient(object):
|
|
3318
3689
|
:rtype: :class:`~oci.response.Response`
|
3319
3690
|
|
3320
3691
|
:example:
|
3321
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3692
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/delete_attribute.py.html>`__ to see an example of how to use delete_attribute API.
|
3322
3693
|
"""
|
3323
3694
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3324
3695
|
required_arguments = ['catalogId', 'dataAssetKey', 'entityKey', 'attributeKey']
|
@@ -3436,7 +3807,7 @@ class DataCatalogClient(object):
|
|
3436
3807
|
:rtype: :class:`~oci.response.Response`
|
3437
3808
|
|
3438
3809
|
:example:
|
3439
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3810
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/delete_attribute_tag.py.html>`__ to see an example of how to use delete_attribute_tag API.
|
3440
3811
|
"""
|
3441
3812
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3442
3813
|
required_arguments = ['catalogId', 'dataAssetKey', 'entityKey', 'attributeKey', 'tagKey']
|
@@ -3527,6 +3898,9 @@ class DataCatalogClient(object):
|
|
3527
3898
|
:param str opc_request_id: (optional)
|
3528
3899
|
The client request ID for tracing.
|
3529
3900
|
|
3901
|
+
:param bool is_lock_override: (optional)
|
3902
|
+
Whether to override locks (if any exist).
|
3903
|
+
|
3530
3904
|
:param obj retry_strategy: (optional)
|
3531
3905
|
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
3532
3906
|
|
@@ -3543,7 +3917,7 @@ class DataCatalogClient(object):
|
|
3543
3917
|
:rtype: :class:`~oci.response.Response`
|
3544
3918
|
|
3545
3919
|
:example:
|
3546
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3920
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/delete_catalog.py.html>`__ to see an example of how to use delete_catalog API.
|
3547
3921
|
"""
|
3548
3922
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3549
3923
|
required_arguments = ['catalogId']
|
@@ -3557,7 +3931,8 @@ class DataCatalogClient(object):
|
|
3557
3931
|
"allow_control_chars",
|
3558
3932
|
"retry_strategy",
|
3559
3933
|
"if_match",
|
3560
|
-
"opc_request_id"
|
3934
|
+
"opc_request_id",
|
3935
|
+
"is_lock_override"
|
3561
3936
|
]
|
3562
3937
|
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
3563
3938
|
if extra_kwargs:
|
@@ -3574,6 +3949,11 @@ class DataCatalogClient(object):
|
|
3574
3949
|
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
3575
3950
|
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
3576
3951
|
|
3952
|
+
query_params = {
|
3953
|
+
"isLockOverride": kwargs.get("is_lock_override", missing)
|
3954
|
+
}
|
3955
|
+
query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
|
3956
|
+
|
3577
3957
|
header_params = {
|
3578
3958
|
"accept": "application/json",
|
3579
3959
|
"content-type": "application/json",
|
@@ -3596,6 +3976,7 @@ class DataCatalogClient(object):
|
|
3596
3976
|
resource_path=resource_path,
|
3597
3977
|
method=method,
|
3598
3978
|
path_params=path_params,
|
3979
|
+
query_params=query_params,
|
3599
3980
|
header_params=header_params,
|
3600
3981
|
allow_control_chars=kwargs.get('allow_control_chars'),
|
3601
3982
|
operation_name=operation_name,
|
@@ -3606,6 +3987,7 @@ class DataCatalogClient(object):
|
|
3606
3987
|
resource_path=resource_path,
|
3607
3988
|
method=method,
|
3608
3989
|
path_params=path_params,
|
3990
|
+
query_params=query_params,
|
3609
3991
|
header_params=header_params,
|
3610
3992
|
allow_control_chars=kwargs.get('allow_control_chars'),
|
3611
3993
|
operation_name=operation_name,
|
@@ -3630,6 +4012,9 @@ class DataCatalogClient(object):
|
|
3630
4012
|
:param str opc_request_id: (optional)
|
3631
4013
|
The client request ID for tracing.
|
3632
4014
|
|
4015
|
+
:param bool is_lock_override: (optional)
|
4016
|
+
Whether to override locks (if any exist).
|
4017
|
+
|
3633
4018
|
:param obj retry_strategy: (optional)
|
3634
4019
|
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
3635
4020
|
|
@@ -3646,7 +4031,7 @@ class DataCatalogClient(object):
|
|
3646
4031
|
:rtype: :class:`~oci.response.Response`
|
3647
4032
|
|
3648
4033
|
:example:
|
3649
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
4034
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/delete_catalog_private_endpoint.py.html>`__ to see an example of how to use delete_catalog_private_endpoint API.
|
3650
4035
|
"""
|
3651
4036
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3652
4037
|
required_arguments = ['catalogPrivateEndpointId']
|
@@ -3660,7 +4045,8 @@ class DataCatalogClient(object):
|
|
3660
4045
|
"allow_control_chars",
|
3661
4046
|
"retry_strategy",
|
3662
4047
|
"if_match",
|
3663
|
-
"opc_request_id"
|
4048
|
+
"opc_request_id",
|
4049
|
+
"is_lock_override"
|
3664
4050
|
]
|
3665
4051
|
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
3666
4052
|
if extra_kwargs:
|
@@ -3677,6 +4063,11 @@ class DataCatalogClient(object):
|
|
3677
4063
|
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
3678
4064
|
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
3679
4065
|
|
4066
|
+
query_params = {
|
4067
|
+
"isLockOverride": kwargs.get("is_lock_override", missing)
|
4068
|
+
}
|
4069
|
+
query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
|
4070
|
+
|
3680
4071
|
header_params = {
|
3681
4072
|
"accept": "application/json",
|
3682
4073
|
"content-type": "application/json",
|
@@ -3699,6 +4090,7 @@ class DataCatalogClient(object):
|
|
3699
4090
|
resource_path=resource_path,
|
3700
4091
|
method=method,
|
3701
4092
|
path_params=path_params,
|
4093
|
+
query_params=query_params,
|
3702
4094
|
header_params=header_params,
|
3703
4095
|
allow_control_chars=kwargs.get('allow_control_chars'),
|
3704
4096
|
operation_name=operation_name,
|
@@ -3709,6 +4101,7 @@ class DataCatalogClient(object):
|
|
3709
4101
|
resource_path=resource_path,
|
3710
4102
|
method=method,
|
3711
4103
|
path_params=path_params,
|
4104
|
+
query_params=query_params,
|
3712
4105
|
header_params=header_params,
|
3713
4106
|
allow_control_chars=kwargs.get('allow_control_chars'),
|
3714
4107
|
operation_name=operation_name,
|
@@ -3755,7 +4148,7 @@ class DataCatalogClient(object):
|
|
3755
4148
|
:rtype: :class:`~oci.response.Response`
|
3756
4149
|
|
3757
4150
|
:example:
|
3758
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
4151
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/delete_connection.py.html>`__ to see an example of how to use delete_connection API.
|
3759
4152
|
"""
|
3760
4153
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3761
4154
|
required_arguments = ['catalogId', 'dataAssetKey', 'connectionKey']
|
@@ -3866,7 +4259,7 @@ class DataCatalogClient(object):
|
|
3866
4259
|
:rtype: :class:`~oci.response.Response`
|
3867
4260
|
|
3868
4261
|
:example:
|
3869
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
4262
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/delete_custom_property.py.html>`__ to see an example of how to use delete_custom_property API.
|
3870
4263
|
"""
|
3871
4264
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3872
4265
|
required_arguments = ['catalogId', 'namespaceId', 'customPropertyKey']
|
@@ -3974,7 +4367,7 @@ class DataCatalogClient(object):
|
|
3974
4367
|
:rtype: :class:`~oci.response.Response`
|
3975
4368
|
|
3976
4369
|
:example:
|
3977
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
4370
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/delete_data_asset.py.html>`__ to see an example of how to use delete_data_asset API.
|
3978
4371
|
"""
|
3979
4372
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3980
4373
|
required_arguments = ['catalogId', 'dataAssetKey']
|
@@ -4084,7 +4477,7 @@ class DataCatalogClient(object):
|
|
4084
4477
|
:rtype: :class:`~oci.response.Response`
|
4085
4478
|
|
4086
4479
|
:example:
|
4087
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
4480
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/delete_data_asset_tag.py.html>`__ to see an example of how to use delete_data_asset_tag API.
|
4088
4481
|
"""
|
4089
4482
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4090
4483
|
required_arguments = ['catalogId', 'dataAssetKey', 'tagKey']
|
@@ -4195,7 +4588,7 @@ class DataCatalogClient(object):
|
|
4195
4588
|
:rtype: :class:`~oci.response.Response`
|
4196
4589
|
|
4197
4590
|
:example:
|
4198
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
4591
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/delete_entity.py.html>`__ to see an example of how to use delete_entity API.
|
4199
4592
|
"""
|
4200
4593
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4201
4594
|
required_arguments = ['catalogId', 'dataAssetKey', 'entityKey']
|
@@ -4309,7 +4702,7 @@ class DataCatalogClient(object):
|
|
4309
4702
|
:rtype: :class:`~oci.response.Response`
|
4310
4703
|
|
4311
4704
|
:example:
|
4312
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
4705
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/delete_entity_tag.py.html>`__ to see an example of how to use delete_entity_tag API.
|
4313
4706
|
"""
|
4314
4707
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4315
4708
|
required_arguments = ['catalogId', 'dataAssetKey', 'entityKey', 'tagKey']
|
@@ -4421,7 +4814,7 @@ class DataCatalogClient(object):
|
|
4421
4814
|
:rtype: :class:`~oci.response.Response`
|
4422
4815
|
|
4423
4816
|
:example:
|
4424
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
4817
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/delete_folder.py.html>`__ to see an example of how to use delete_folder API.
|
4425
4818
|
"""
|
4426
4819
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4427
4820
|
required_arguments = ['catalogId', 'dataAssetKey', 'folderKey']
|
@@ -4535,7 +4928,7 @@ class DataCatalogClient(object):
|
|
4535
4928
|
:rtype: :class:`~oci.response.Response`
|
4536
4929
|
|
4537
4930
|
:example:
|
4538
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
4931
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/delete_folder_tag.py.html>`__ to see an example of how to use delete_folder_tag API.
|
4539
4932
|
"""
|
4540
4933
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4541
4934
|
required_arguments = ['catalogId', 'dataAssetKey', 'folderKey', 'tagKey']
|
@@ -4644,7 +5037,7 @@ class DataCatalogClient(object):
|
|
4644
5037
|
:rtype: :class:`~oci.response.Response`
|
4645
5038
|
|
4646
5039
|
:example:
|
4647
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
5040
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/delete_glossary.py.html>`__ to see an example of how to use delete_glossary API.
|
4648
5041
|
"""
|
4649
5042
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4650
5043
|
required_arguments = ['catalogId', 'glossaryKey']
|
@@ -4751,7 +5144,7 @@ class DataCatalogClient(object):
|
|
4751
5144
|
:rtype: :class:`~oci.response.Response`
|
4752
5145
|
|
4753
5146
|
:example:
|
4754
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
5147
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/delete_job.py.html>`__ to see an example of how to use delete_job API.
|
4755
5148
|
"""
|
4756
5149
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4757
5150
|
required_arguments = ['catalogId', 'jobKey']
|
@@ -4858,7 +5251,7 @@ class DataCatalogClient(object):
|
|
4858
5251
|
:rtype: :class:`~oci.response.Response`
|
4859
5252
|
|
4860
5253
|
:example:
|
4861
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
5254
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/delete_job_definition.py.html>`__ to see an example of how to use delete_job_definition API.
|
4862
5255
|
"""
|
4863
5256
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4864
5257
|
required_arguments = ['catalogId', 'jobDefinitionKey']
|
@@ -4946,6 +5339,9 @@ class DataCatalogClient(object):
|
|
4946
5339
|
:param str opc_request_id: (optional)
|
4947
5340
|
The client request ID for tracing.
|
4948
5341
|
|
5342
|
+
:param bool is_lock_override: (optional)
|
5343
|
+
Whether to override locks (if any exist).
|
5344
|
+
|
4949
5345
|
:param obj retry_strategy: (optional)
|
4950
5346
|
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
4951
5347
|
|
@@ -4962,7 +5358,7 @@ class DataCatalogClient(object):
|
|
4962
5358
|
:rtype: :class:`~oci.response.Response`
|
4963
5359
|
|
4964
5360
|
:example:
|
4965
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
5361
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/delete_metastore.py.html>`__ to see an example of how to use delete_metastore API.
|
4966
5362
|
"""
|
4967
5363
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4968
5364
|
required_arguments = ['metastoreId']
|
@@ -4976,7 +5372,8 @@ class DataCatalogClient(object):
|
|
4976
5372
|
"allow_control_chars",
|
4977
5373
|
"retry_strategy",
|
4978
5374
|
"if_match",
|
4979
|
-
"opc_request_id"
|
5375
|
+
"opc_request_id",
|
5376
|
+
"is_lock_override"
|
4980
5377
|
]
|
4981
5378
|
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
4982
5379
|
if extra_kwargs:
|
@@ -4993,6 +5390,11 @@ class DataCatalogClient(object):
|
|
4993
5390
|
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
4994
5391
|
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
4995
5392
|
|
5393
|
+
query_params = {
|
5394
|
+
"isLockOverride": kwargs.get("is_lock_override", missing)
|
5395
|
+
}
|
5396
|
+
query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
|
5397
|
+
|
4996
5398
|
header_params = {
|
4997
5399
|
"accept": "application/json",
|
4998
5400
|
"content-type": "application/json",
|
@@ -5015,6 +5417,7 @@ class DataCatalogClient(object):
|
|
5015
5417
|
resource_path=resource_path,
|
5016
5418
|
method=method,
|
5017
5419
|
path_params=path_params,
|
5420
|
+
query_params=query_params,
|
5018
5421
|
header_params=header_params,
|
5019
5422
|
allow_control_chars=kwargs.get('allow_control_chars'),
|
5020
5423
|
operation_name=operation_name,
|
@@ -5025,6 +5428,7 @@ class DataCatalogClient(object):
|
|
5025
5428
|
resource_path=resource_path,
|
5026
5429
|
method=method,
|
5027
5430
|
path_params=path_params,
|
5431
|
+
query_params=query_params,
|
5028
5432
|
header_params=header_params,
|
5029
5433
|
allow_control_chars=kwargs.get('allow_control_chars'),
|
5030
5434
|
operation_name=operation_name,
|
@@ -5068,7 +5472,7 @@ class DataCatalogClient(object):
|
|
5068
5472
|
:rtype: :class:`~oci.response.Response`
|
5069
5473
|
|
5070
5474
|
:example:
|
5071
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
5475
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/delete_namespace.py.html>`__ to see an example of how to use delete_namespace API.
|
5072
5476
|
"""
|
5073
5477
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
5074
5478
|
required_arguments = ['catalogId', 'namespaceId']
|
@@ -5175,7 +5579,7 @@ class DataCatalogClient(object):
|
|
5175
5579
|
:rtype: :class:`~oci.response.Response`
|
5176
5580
|
|
5177
5581
|
:example:
|
5178
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
5582
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/delete_pattern.py.html>`__ to see an example of how to use delete_pattern API.
|
5179
5583
|
"""
|
5180
5584
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
5181
5585
|
required_arguments = ['catalogId', 'patternKey']
|
@@ -5285,7 +5689,7 @@ class DataCatalogClient(object):
|
|
5285
5689
|
:rtype: :class:`~oci.response.Response`
|
5286
5690
|
|
5287
5691
|
:example:
|
5288
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
5692
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/delete_term.py.html>`__ to see an example of how to use delete_term API.
|
5289
5693
|
"""
|
5290
5694
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
5291
5695
|
required_arguments = ['catalogId', 'glossaryKey', 'termKey']
|
@@ -5399,7 +5803,7 @@ class DataCatalogClient(object):
|
|
5399
5803
|
:rtype: :class:`~oci.response.Response`
|
5400
5804
|
|
5401
5805
|
:example:
|
5402
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
5806
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/delete_term_relationship.py.html>`__ to see an example of how to use delete_term_relationship API.
|
5403
5807
|
"""
|
5404
5808
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
5405
5809
|
required_arguments = ['catalogId', 'glossaryKey', 'termKey', 'termRelationshipKey']
|
@@ -5492,6 +5896,9 @@ class DataCatalogClient(object):
|
|
5492
5896
|
:param str opc_request_id: (optional)
|
5493
5897
|
The client request ID for tracing.
|
5494
5898
|
|
5899
|
+
:param bool is_lock_override: (optional)
|
5900
|
+
Whether to override locks (if any exist).
|
5901
|
+
|
5495
5902
|
:param obj retry_strategy: (optional)
|
5496
5903
|
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
5497
5904
|
|
@@ -5508,7 +5915,7 @@ class DataCatalogClient(object):
|
|
5508
5915
|
:rtype: :class:`~oci.response.Response`
|
5509
5916
|
|
5510
5917
|
:example:
|
5511
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
5918
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/detach_catalog_private_endpoint.py.html>`__ to see an example of how to use detach_catalog_private_endpoint API.
|
5512
5919
|
"""
|
5513
5920
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
5514
5921
|
required_arguments = ['catalogId']
|
@@ -5522,7 +5929,8 @@ class DataCatalogClient(object):
|
|
5522
5929
|
"allow_control_chars",
|
5523
5930
|
"retry_strategy",
|
5524
5931
|
"if_match",
|
5525
|
-
"opc_request_id"
|
5932
|
+
"opc_request_id",
|
5933
|
+
"is_lock_override"
|
5526
5934
|
]
|
5527
5935
|
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
5528
5936
|
if extra_kwargs:
|
@@ -5539,6 +5947,11 @@ class DataCatalogClient(object):
|
|
5539
5947
|
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
5540
5948
|
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
5541
5949
|
|
5950
|
+
query_params = {
|
5951
|
+
"isLockOverride": kwargs.get("is_lock_override", missing)
|
5952
|
+
}
|
5953
|
+
query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
|
5954
|
+
|
5542
5955
|
header_params = {
|
5543
5956
|
"accept": "application/json",
|
5544
5957
|
"content-type": "application/json",
|
@@ -5561,6 +5974,7 @@ class DataCatalogClient(object):
|
|
5561
5974
|
resource_path=resource_path,
|
5562
5975
|
method=method,
|
5563
5976
|
path_params=path_params,
|
5977
|
+
query_params=query_params,
|
5564
5978
|
header_params=header_params,
|
5565
5979
|
body=detach_catalog_private_endpoint_details,
|
5566
5980
|
allow_control_chars=kwargs.get('allow_control_chars'),
|
@@ -5572,6 +5986,7 @@ class DataCatalogClient(object):
|
|
5572
5986
|
resource_path=resource_path,
|
5573
5987
|
method=method,
|
5574
5988
|
path_params=path_params,
|
5989
|
+
query_params=query_params,
|
5575
5990
|
header_params=header_params,
|
5576
5991
|
body=detach_catalog_private_endpoint_details,
|
5577
5992
|
allow_control_chars=kwargs.get('allow_control_chars'),
|
@@ -5626,7 +6041,7 @@ class DataCatalogClient(object):
|
|
5626
6041
|
:rtype: :class:`~oci.response.Response`
|
5627
6042
|
|
5628
6043
|
:example:
|
5629
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
6044
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/disassociate_custom_property.py.html>`__ to see an example of how to use disassociate_custom_property API.
|
5630
6045
|
"""
|
5631
6046
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
5632
6047
|
required_arguments = ['catalogId', 'typeKey']
|
@@ -5740,7 +6155,7 @@ class DataCatalogClient(object):
|
|
5740
6155
|
:rtype: :class:`~oci.response.Response`
|
5741
6156
|
|
5742
6157
|
:example:
|
5743
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
6158
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/expand_tree_for_glossary.py.html>`__ to see an example of how to use expand_tree_for_glossary API.
|
5744
6159
|
"""
|
5745
6160
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
5746
6161
|
required_arguments = ['catalogId', 'glossaryKey']
|
@@ -5855,7 +6270,7 @@ class DataCatalogClient(object):
|
|
5855
6270
|
:rtype: :class:`~oci.response.Response`
|
5856
6271
|
|
5857
6272
|
:example:
|
5858
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
6273
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/export_glossary.py.html>`__ to see an example of how to use export_glossary API.
|
5859
6274
|
"""
|
5860
6275
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
5861
6276
|
required_arguments = ['catalogId', 'glossaryKey']
|
@@ -5985,7 +6400,7 @@ class DataCatalogClient(object):
|
|
5985
6400
|
:rtype: :class:`~oci.response.Response`
|
5986
6401
|
|
5987
6402
|
:example:
|
5988
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
6403
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/fetch_entity_lineage.py.html>`__ to see an example of how to use fetch_entity_lineage API.
|
5989
6404
|
"""
|
5990
6405
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
5991
6406
|
required_arguments = ['catalogId', 'dataAssetKey', 'entityKey']
|
@@ -6116,7 +6531,7 @@ class DataCatalogClient(object):
|
|
6116
6531
|
:rtype: :class:`~oci.response.Response`
|
6117
6532
|
|
6118
6533
|
:example:
|
6119
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
6534
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/get_attribute.py.html>`__ to see an example of how to use get_attribute API.
|
6120
6535
|
"""
|
6121
6536
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
6122
6537
|
required_arguments = ['catalogId', 'dataAssetKey', 'entityKey', 'attributeKey']
|
@@ -6252,7 +6667,7 @@ class DataCatalogClient(object):
|
|
6252
6667
|
:rtype: :class:`~oci.response.Response`
|
6253
6668
|
|
6254
6669
|
:example:
|
6255
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
6670
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/get_attribute_tag.py.html>`__ to see an example of how to use get_attribute_tag API.
|
6256
6671
|
"""
|
6257
6672
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
6258
6673
|
required_arguments = ['catalogId', 'dataAssetKey', 'entityKey', 'attributeKey', 'tagKey']
|
@@ -6370,7 +6785,7 @@ class DataCatalogClient(object):
|
|
6370
6785
|
:rtype: :class:`~oci.response.Response`
|
6371
6786
|
|
6372
6787
|
:example:
|
6373
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
6788
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/get_catalog.py.html>`__ to see an example of how to use get_catalog API.
|
6374
6789
|
"""
|
6375
6790
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
6376
6791
|
required_arguments = ['catalogId']
|
@@ -6468,7 +6883,7 @@ class DataCatalogClient(object):
|
|
6468
6883
|
:rtype: :class:`~oci.response.Response`
|
6469
6884
|
|
6470
6885
|
:example:
|
6471
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
6886
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/get_catalog_private_endpoint.py.html>`__ to see an example of how to use get_catalog_private_endpoint API.
|
6472
6887
|
"""
|
6473
6888
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
6474
6889
|
required_arguments = ['catalogPrivateEndpointId']
|
@@ -6577,7 +6992,7 @@ class DataCatalogClient(object):
|
|
6577
6992
|
:rtype: :class:`~oci.response.Response`
|
6578
6993
|
|
6579
6994
|
:example:
|
6580
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
6995
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/get_connection.py.html>`__ to see an example of how to use get_connection API.
|
6581
6996
|
"""
|
6582
6997
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
6583
6998
|
required_arguments = ['catalogId', 'dataAssetKey', 'connectionKey']
|
@@ -6704,7 +7119,7 @@ class DataCatalogClient(object):
|
|
6704
7119
|
:rtype: :class:`~oci.response.Response`
|
6705
7120
|
|
6706
7121
|
:example:
|
6707
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
7122
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/get_custom_property.py.html>`__ to see an example of how to use get_custom_property API.
|
6708
7123
|
"""
|
6709
7124
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
6710
7125
|
required_arguments = ['catalogId', 'namespaceId', 'customPropertyKey']
|
@@ -6828,7 +7243,7 @@ class DataCatalogClient(object):
|
|
6828
7243
|
:rtype: :class:`~oci.response.Response`
|
6829
7244
|
|
6830
7245
|
:example:
|
6831
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
7246
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/get_data_asset.py.html>`__ to see an example of how to use get_data_asset API.
|
6832
7247
|
"""
|
6833
7248
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
6834
7249
|
required_arguments = ['catalogId', 'dataAssetKey']
|
@@ -6954,7 +7369,7 @@ class DataCatalogClient(object):
|
|
6954
7369
|
:rtype: :class:`~oci.response.Response`
|
6955
7370
|
|
6956
7371
|
:example:
|
6957
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
7372
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/get_data_asset_tag.py.html>`__ to see an example of how to use get_data_asset_tag API.
|
6958
7373
|
"""
|
6959
7374
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
6960
7375
|
required_arguments = ['catalogId', 'dataAssetKey', 'tagKey']
|
@@ -7084,7 +7499,7 @@ class DataCatalogClient(object):
|
|
7084
7499
|
:rtype: :class:`~oci.response.Response`
|
7085
7500
|
|
7086
7501
|
:example:
|
7087
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
7502
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/get_entity.py.html>`__ to see an example of how to use get_entity API.
|
7088
7503
|
"""
|
7089
7504
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
7090
7505
|
required_arguments = ['catalogId', 'dataAssetKey', 'entityKey']
|
@@ -7216,7 +7631,7 @@ class DataCatalogClient(object):
|
|
7216
7631
|
:rtype: :class:`~oci.response.Response`
|
7217
7632
|
|
7218
7633
|
:example:
|
7219
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
7634
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/get_entity_tag.py.html>`__ to see an example of how to use get_entity_tag API.
|
7220
7635
|
"""
|
7221
7636
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
7222
7637
|
required_arguments = ['catalogId', 'dataAssetKey', 'entityKey', 'tagKey']
|
@@ -7347,7 +7762,7 @@ class DataCatalogClient(object):
|
|
7347
7762
|
:rtype: :class:`~oci.response.Response`
|
7348
7763
|
|
7349
7764
|
:example:
|
7350
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
7765
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/get_folder.py.html>`__ to see an example of how to use get_folder API.
|
7351
7766
|
"""
|
7352
7767
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
7353
7768
|
required_arguments = ['catalogId', 'dataAssetKey', 'folderKey']
|
@@ -7479,7 +7894,7 @@ class DataCatalogClient(object):
|
|
7479
7894
|
:rtype: :class:`~oci.response.Response`
|
7480
7895
|
|
7481
7896
|
:example:
|
7482
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
7897
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/get_folder_tag.py.html>`__ to see an example of how to use get_folder_tag API.
|
7483
7898
|
"""
|
7484
7899
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
7485
7900
|
required_arguments = ['catalogId', 'dataAssetKey', 'folderKey', 'tagKey']
|
@@ -7604,7 +8019,7 @@ class DataCatalogClient(object):
|
|
7604
8019
|
:rtype: :class:`~oci.response.Response`
|
7605
8020
|
|
7606
8021
|
:example:
|
7607
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
8022
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/get_glossary.py.html>`__ to see an example of how to use get_glossary API.
|
7608
8023
|
"""
|
7609
8024
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
7610
8025
|
required_arguments = ['catalogId', 'glossaryKey']
|
@@ -7727,7 +8142,7 @@ class DataCatalogClient(object):
|
|
7727
8142
|
:rtype: :class:`~oci.response.Response`
|
7728
8143
|
|
7729
8144
|
:example:
|
7730
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
8145
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/get_job.py.html>`__ to see an example of how to use get_job API.
|
7731
8146
|
"""
|
7732
8147
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
7733
8148
|
required_arguments = ['catalogId', 'jobKey']
|
@@ -7850,7 +8265,7 @@ class DataCatalogClient(object):
|
|
7850
8265
|
:rtype: :class:`~oci.response.Response`
|
7851
8266
|
|
7852
8267
|
:example:
|
7853
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
8268
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/get_job_definition.py.html>`__ to see an example of how to use get_job_definition API.
|
7854
8269
|
"""
|
7855
8270
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
7856
8271
|
required_arguments = ['catalogId', 'jobDefinitionKey']
|
@@ -7976,7 +8391,7 @@ class DataCatalogClient(object):
|
|
7976
8391
|
:rtype: :class:`~oci.response.Response`
|
7977
8392
|
|
7978
8393
|
:example:
|
7979
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
8394
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/get_job_execution.py.html>`__ to see an example of how to use get_job_execution API.
|
7980
8395
|
"""
|
7981
8396
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
7982
8397
|
required_arguments = ['catalogId', 'jobKey', 'jobExecutionKey']
|
@@ -8106,7 +8521,7 @@ class DataCatalogClient(object):
|
|
8106
8521
|
:rtype: :class:`~oci.response.Response`
|
8107
8522
|
|
8108
8523
|
:example:
|
8109
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
8524
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/get_job_log.py.html>`__ to see an example of how to use get_job_log API.
|
8110
8525
|
"""
|
8111
8526
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
8112
8527
|
required_arguments = ['catalogId', 'jobKey', 'jobExecutionKey', 'jobLogKey']
|
@@ -8237,7 +8652,7 @@ class DataCatalogClient(object):
|
|
8237
8652
|
:rtype: :class:`~oci.response.Response`
|
8238
8653
|
|
8239
8654
|
:example:
|
8240
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
8655
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/get_job_metrics.py.html>`__ to see an example of how to use get_job_metrics API.
|
8241
8656
|
"""
|
8242
8657
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
8243
8658
|
required_arguments = ['catalogId', 'jobKey', 'jobExecutionKey', 'jobMetricsKey']
|
@@ -8354,7 +8769,7 @@ class DataCatalogClient(object):
|
|
8354
8769
|
:rtype: :class:`~oci.response.Response`
|
8355
8770
|
|
8356
8771
|
:example:
|
8357
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
8772
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/get_metastore.py.html>`__ to see an example of how to use get_metastore API.
|
8358
8773
|
"""
|
8359
8774
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
8360
8775
|
required_arguments = ['metastoreId']
|
@@ -8460,7 +8875,7 @@ class DataCatalogClient(object):
|
|
8460
8875
|
:rtype: :class:`~oci.response.Response`
|
8461
8876
|
|
8462
8877
|
:example:
|
8463
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
8878
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/get_namespace.py.html>`__ to see an example of how to use get_namespace API.
|
8464
8879
|
"""
|
8465
8880
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
8466
8881
|
required_arguments = ['catalogId', 'namespaceId']
|
@@ -8583,7 +8998,7 @@ class DataCatalogClient(object):
|
|
8583
8998
|
:rtype: :class:`~oci.response.Response`
|
8584
8999
|
|
8585
9000
|
:example:
|
8586
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
9001
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/get_pattern.py.html>`__ to see an example of how to use get_pattern API.
|
8587
9002
|
"""
|
8588
9003
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
8589
9004
|
required_arguments = ['catalogId', 'patternKey']
|
@@ -8709,7 +9124,7 @@ class DataCatalogClient(object):
|
|
8709
9124
|
:rtype: :class:`~oci.response.Response`
|
8710
9125
|
|
8711
9126
|
:example:
|
8712
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
9127
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/get_term.py.html>`__ to see an example of how to use get_term API.
|
8713
9128
|
"""
|
8714
9129
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
8715
9130
|
required_arguments = ['catalogId', 'glossaryKey', 'termKey']
|
@@ -8839,7 +9254,7 @@ class DataCatalogClient(object):
|
|
8839
9254
|
:rtype: :class:`~oci.response.Response`
|
8840
9255
|
|
8841
9256
|
:example:
|
8842
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
9257
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/get_term_relationship.py.html>`__ to see an example of how to use get_term_relationship API.
|
8843
9258
|
"""
|
8844
9259
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
8845
9260
|
required_arguments = ['catalogId', 'glossaryKey', 'termKey', 'termRelationshipKey']
|
@@ -8964,7 +9379,7 @@ class DataCatalogClient(object):
|
|
8964
9379
|
:rtype: :class:`~oci.response.Response`
|
8965
9380
|
|
8966
9381
|
:example:
|
8967
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
9382
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/get_type.py.html>`__ to see an example of how to use get_type API.
|
8968
9383
|
"""
|
8969
9384
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
8970
9385
|
required_arguments = ['catalogId', 'typeKey']
|
@@ -9079,7 +9494,7 @@ class DataCatalogClient(object):
|
|
9079
9494
|
:rtype: :class:`~oci.response.Response`
|
9080
9495
|
|
9081
9496
|
:example:
|
9082
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
9497
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/get_work_request.py.html>`__ to see an example of how to use get_work_request API.
|
9083
9498
|
"""
|
9084
9499
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
9085
9500
|
required_arguments = ['workRequestId']
|
@@ -9197,7 +9612,7 @@ class DataCatalogClient(object):
|
|
9197
9612
|
:rtype: :class:`~oci.response.Response`
|
9198
9613
|
|
9199
9614
|
:example:
|
9200
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
9615
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/import_connection.py.html>`__ to see an example of how to use import_connection API.
|
9201
9616
|
"""
|
9202
9617
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
9203
9618
|
required_arguments = ['catalogId', 'dataAssetKey']
|
@@ -9322,7 +9737,7 @@ class DataCatalogClient(object):
|
|
9322
9737
|
:rtype: :class:`~oci.response.Response`
|
9323
9738
|
|
9324
9739
|
:example:
|
9325
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
9740
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/import_data_asset.py.html>`__ to see an example of how to use import_data_asset API.
|
9326
9741
|
"""
|
9327
9742
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
9328
9743
|
required_arguments = ['catalogId', 'dataAssetKey', 'importType']
|
@@ -9456,7 +9871,7 @@ class DataCatalogClient(object):
|
|
9456
9871
|
:rtype: :class:`~oci.response.Response`
|
9457
9872
|
|
9458
9873
|
:example:
|
9459
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
9874
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/import_glossary.py.html>`__ to see an example of how to use import_glossary API.
|
9460
9875
|
"""
|
9461
9876
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
9462
9877
|
required_arguments = ['catalogId', 'glossaryKey']
|
@@ -9599,7 +10014,7 @@ class DataCatalogClient(object):
|
|
9599
10014
|
:rtype: :class:`~oci.response.Response`
|
9600
10015
|
|
9601
10016
|
:example:
|
9602
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
10017
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/list_aggregated_physical_entities.py.html>`__ to see an example of how to use list_aggregated_physical_entities API.
|
9603
10018
|
"""
|
9604
10019
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
9605
10020
|
required_arguments = ['catalogId', 'dataAssetKey', 'entityKey']
|
@@ -9793,7 +10208,7 @@ class DataCatalogClient(object):
|
|
9793
10208
|
:rtype: :class:`~oci.response.Response`
|
9794
10209
|
|
9795
10210
|
:example:
|
9796
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
10211
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/list_attribute_tags.py.html>`__ to see an example of how to use list_attribute_tags API.
|
9797
10212
|
"""
|
9798
10213
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
9799
10214
|
required_arguments = ['catalogId', 'dataAssetKey', 'entityKey', 'attributeKey']
|
@@ -10043,7 +10458,7 @@ class DataCatalogClient(object):
|
|
10043
10458
|
:rtype: :class:`~oci.response.Response`
|
10044
10459
|
|
10045
10460
|
:example:
|
10046
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
10461
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/list_attributes.py.html>`__ to see an example of how to use list_attributes API.
|
10047
10462
|
"""
|
10048
10463
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
10049
10464
|
required_arguments = ['catalogId', 'dataAssetKey', 'entityKey']
|
@@ -10248,7 +10663,7 @@ class DataCatalogClient(object):
|
|
10248
10663
|
:rtype: :class:`~oci.response.Response`
|
10249
10664
|
|
10250
10665
|
:example:
|
10251
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
10666
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/list_catalog_private_endpoints.py.html>`__ to see an example of how to use list_catalog_private_endpoints API.
|
10252
10667
|
"""
|
10253
10668
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
10254
10669
|
required_arguments = ['compartmentId']
|
@@ -10398,7 +10813,7 @@ class DataCatalogClient(object):
|
|
10398
10813
|
:rtype: :class:`~oci.response.Response`
|
10399
10814
|
|
10400
10815
|
:example:
|
10401
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
10816
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/list_catalogs.py.html>`__ to see an example of how to use list_catalogs API.
|
10402
10817
|
"""
|
10403
10818
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
10404
10819
|
required_arguments = ['compartmentId']
|
@@ -10588,7 +11003,7 @@ class DataCatalogClient(object):
|
|
10588
11003
|
:rtype: :class:`~oci.response.Response`
|
10589
11004
|
|
10590
11005
|
:example:
|
10591
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
11006
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/list_connections.py.html>`__ to see an example of how to use list_connections API.
|
10592
11007
|
"""
|
10593
11008
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
10594
11009
|
required_arguments = ['catalogId', 'dataAssetKey']
|
@@ -10815,7 +11230,7 @@ class DataCatalogClient(object):
|
|
10815
11230
|
:rtype: :class:`~oci.response.Response`
|
10816
11231
|
|
10817
11232
|
:example:
|
10818
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
11233
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/list_custom_properties.py.html>`__ to see an example of how to use list_custom_properties API.
|
10819
11234
|
"""
|
10820
11235
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
10821
11236
|
required_arguments = ['catalogId', 'namespaceId']
|
@@ -11039,7 +11454,7 @@ class DataCatalogClient(object):
|
|
11039
11454
|
:rtype: :class:`~oci.response.Response`
|
11040
11455
|
|
11041
11456
|
:example:
|
11042
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
11457
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/list_data_asset_tags.py.html>`__ to see an example of how to use list_data_asset_tags API.
|
11043
11458
|
"""
|
11044
11459
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
11045
11460
|
required_arguments = ['catalogId', 'dataAssetKey']
|
@@ -11251,7 +11666,7 @@ class DataCatalogClient(object):
|
|
11251
11666
|
:rtype: :class:`~oci.response.Response`
|
11252
11667
|
|
11253
11668
|
:example:
|
11254
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
11669
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/list_data_assets.py.html>`__ to see an example of how to use list_data_assets API.
|
11255
11670
|
"""
|
11256
11671
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
11257
11672
|
required_arguments = ['catalogId']
|
@@ -11450,7 +11865,7 @@ class DataCatalogClient(object):
|
|
11450
11865
|
:rtype: :class:`~oci.response.Response`
|
11451
11866
|
|
11452
11867
|
:example:
|
11453
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
11868
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/list_derived_logical_entities.py.html>`__ to see an example of how to use list_derived_logical_entities API.
|
11454
11869
|
"""
|
11455
11870
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
11456
11871
|
required_arguments = ['catalogId', 'patternKey']
|
@@ -11683,7 +12098,7 @@ class DataCatalogClient(object):
|
|
11683
12098
|
:rtype: :class:`~oci.response.Response`
|
11684
12099
|
|
11685
12100
|
:example:
|
11686
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
12101
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/list_entities.py.html>`__ to see an example of how to use list_entities API.
|
11687
12102
|
"""
|
11688
12103
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
11689
12104
|
required_arguments = ['catalogId', 'dataAssetKey']
|
@@ -11923,7 +12338,7 @@ class DataCatalogClient(object):
|
|
11923
12338
|
:rtype: :class:`~oci.response.Response`
|
11924
12339
|
|
11925
12340
|
:example:
|
11926
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
12341
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/list_entity_tags.py.html>`__ to see an example of how to use list_entity_tags API.
|
11927
12342
|
"""
|
11928
12343
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
11929
12344
|
required_arguments = ['catalogId', 'dataAssetKey', 'entityKey']
|
@@ -12129,7 +12544,7 @@ class DataCatalogClient(object):
|
|
12129
12544
|
:rtype: :class:`~oci.response.Response`
|
12130
12545
|
|
12131
12546
|
:example:
|
12132
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
12547
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/list_folder_tags.py.html>`__ to see an example of how to use list_folder_tags API.
|
12133
12548
|
"""
|
12134
12549
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
12135
12550
|
required_arguments = ['catalogId', 'dataAssetKey', 'folderKey']
|
@@ -12368,7 +12783,7 @@ class DataCatalogClient(object):
|
|
12368
12783
|
:rtype: :class:`~oci.response.Response`
|
12369
12784
|
|
12370
12785
|
:example:
|
12371
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
12786
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/list_folders.py.html>`__ to see an example of how to use list_folders API.
|
12372
12787
|
"""
|
12373
12788
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
12374
12789
|
required_arguments = ['catalogId', 'dataAssetKey']
|
@@ -12599,7 +13014,7 @@ class DataCatalogClient(object):
|
|
12599
13014
|
:rtype: :class:`~oci.response.Response`
|
12600
13015
|
|
12601
13016
|
:example:
|
12602
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
13017
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/list_glossaries.py.html>`__ to see an example of how to use list_glossaries API.
|
12603
13018
|
"""
|
12604
13019
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
12605
13020
|
required_arguments = ['catalogId']
|
@@ -12831,7 +13246,7 @@ class DataCatalogClient(object):
|
|
12831
13246
|
:rtype: :class:`~oci.response.Response`
|
12832
13247
|
|
12833
13248
|
:example:
|
12834
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
13249
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/list_job_definitions.py.html>`__ to see an example of how to use list_job_definitions API.
|
12835
13250
|
"""
|
12836
13251
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
12837
13252
|
required_arguments = ['catalogId']
|
@@ -13102,7 +13517,7 @@ class DataCatalogClient(object):
|
|
13102
13517
|
:rtype: :class:`~oci.response.Response`
|
13103
13518
|
|
13104
13519
|
:example:
|
13105
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
13520
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/list_job_executions.py.html>`__ to see an example of how to use list_job_executions API.
|
13106
13521
|
"""
|
13107
13522
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
13108
13523
|
required_arguments = ['catalogId', 'jobKey']
|
@@ -13336,7 +13751,7 @@ class DataCatalogClient(object):
|
|
13336
13751
|
:rtype: :class:`~oci.response.Response`
|
13337
13752
|
|
13338
13753
|
:example:
|
13339
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
13754
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/list_job_logs.py.html>`__ to see an example of how to use list_job_logs API.
|
13340
13755
|
"""
|
13341
13756
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
13342
13757
|
required_arguments = ['catalogId', 'jobKey', 'jobExecutionKey']
|
@@ -13565,7 +13980,7 @@ class DataCatalogClient(object):
|
|
13565
13980
|
:rtype: :class:`~oci.response.Response`
|
13566
13981
|
|
13567
13982
|
:example:
|
13568
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
13983
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/list_job_metrics.py.html>`__ to see an example of how to use list_job_metrics API.
|
13569
13984
|
"""
|
13570
13985
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
13571
13986
|
required_arguments = ['catalogId', 'jobKey', 'jobExecutionKey']
|
@@ -13823,7 +14238,7 @@ class DataCatalogClient(object):
|
|
13823
14238
|
:rtype: :class:`~oci.response.Response`
|
13824
14239
|
|
13825
14240
|
:example:
|
13826
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
14241
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/list_jobs.py.html>`__ to see an example of how to use list_jobs API.
|
13827
14242
|
"""
|
13828
14243
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
13829
14244
|
required_arguments = ['catalogId']
|
@@ -14040,7 +14455,7 @@ class DataCatalogClient(object):
|
|
14040
14455
|
:rtype: :class:`~oci.response.Response`
|
14041
14456
|
|
14042
14457
|
:example:
|
14043
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
14458
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/list_metastores.py.html>`__ to see an example of how to use list_metastores API.
|
14044
14459
|
"""
|
14045
14460
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
14046
14461
|
required_arguments = ['compartmentId']
|
@@ -14216,7 +14631,7 @@ class DataCatalogClient(object):
|
|
14216
14631
|
:rtype: :class:`~oci.response.Response`
|
14217
14632
|
|
14218
14633
|
:example:
|
14219
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
14634
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/list_namespaces.py.html>`__ to see an example of how to use list_namespaces API.
|
14220
14635
|
"""
|
14221
14636
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
14222
14637
|
required_arguments = ['catalogId']
|
@@ -14423,7 +14838,7 @@ class DataCatalogClient(object):
|
|
14423
14838
|
:rtype: :class:`~oci.response.Response`
|
14424
14839
|
|
14425
14840
|
:example:
|
14426
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
14841
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/list_patterns.py.html>`__ to see an example of how to use list_patterns API.
|
14427
14842
|
"""
|
14428
14843
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
14429
14844
|
required_arguments = ['catalogId']
|
@@ -14649,7 +15064,7 @@ class DataCatalogClient(object):
|
|
14649
15064
|
:rtype: :class:`~oci.response.Response`
|
14650
15065
|
|
14651
15066
|
:example:
|
14652
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
15067
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/list_rules.py.html>`__ to see an example of how to use list_rules API.
|
14653
15068
|
"""
|
14654
15069
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
14655
15070
|
required_arguments = ['catalogId', 'dataAssetKey', 'entityKey']
|
@@ -14862,7 +15277,7 @@ class DataCatalogClient(object):
|
|
14862
15277
|
:rtype: :class:`~oci.response.Response`
|
14863
15278
|
|
14864
15279
|
:example:
|
14865
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
15280
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/list_tags.py.html>`__ to see an example of how to use list_tags API.
|
14866
15281
|
"""
|
14867
15282
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
14868
15283
|
required_arguments = ['catalogId']
|
@@ -15051,7 +15466,7 @@ class DataCatalogClient(object):
|
|
15051
15466
|
:rtype: :class:`~oci.response.Response`
|
15052
15467
|
|
15053
15468
|
:example:
|
15054
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
15469
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/list_term_relationships.py.html>`__ to see an example of how to use list_term_relationships API.
|
15055
15470
|
"""
|
15056
15471
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
15057
15472
|
required_arguments = ['catalogId', 'glossaryKey', 'termKey']
|
@@ -15253,7 +15668,7 @@ class DataCatalogClient(object):
|
|
15253
15668
|
:rtype: :class:`~oci.response.Response`
|
15254
15669
|
|
15255
15670
|
:example:
|
15256
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
15671
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/list_terms.py.html>`__ to see an example of how to use list_terms API.
|
15257
15672
|
"""
|
15258
15673
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
15259
15674
|
required_arguments = ['catalogId', 'glossaryKey']
|
@@ -15462,7 +15877,7 @@ class DataCatalogClient(object):
|
|
15462
15877
|
:rtype: :class:`~oci.response.Response`
|
15463
15878
|
|
15464
15879
|
:example:
|
15465
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
15880
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/list_types.py.html>`__ to see an example of how to use list_types API.
|
15466
15881
|
"""
|
15467
15882
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
15468
15883
|
required_arguments = ['catalogId']
|
@@ -15635,7 +16050,7 @@ class DataCatalogClient(object):
|
|
15635
16050
|
:rtype: :class:`~oci.response.Response`
|
15636
16051
|
|
15637
16052
|
:example:
|
15638
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
16053
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/list_work_request_errors.py.html>`__ to see an example of how to use list_work_request_errors API.
|
15639
16054
|
"""
|
15640
16055
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
15641
16056
|
required_arguments = ['workRequestId']
|
@@ -15777,7 +16192,7 @@ class DataCatalogClient(object):
|
|
15777
16192
|
:rtype: :class:`~oci.response.Response`
|
15778
16193
|
|
15779
16194
|
:example:
|
15780
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
16195
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/list_work_request_logs.py.html>`__ to see an example of how to use list_work_request_logs API.
|
15781
16196
|
"""
|
15782
16197
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
15783
16198
|
required_arguments = ['workRequestId']
|
@@ -15909,7 +16324,7 @@ class DataCatalogClient(object):
|
|
15909
16324
|
:rtype: :class:`~oci.response.Response`
|
15910
16325
|
|
15911
16326
|
:example:
|
15912
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
16327
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/list_work_requests.py.html>`__ to see an example of how to use list_work_requests API.
|
15913
16328
|
"""
|
15914
16329
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
15915
16330
|
required_arguments = ['compartmentId']
|
@@ -16022,7 +16437,7 @@ class DataCatalogClient(object):
|
|
16022
16437
|
:rtype: :class:`~oci.response.Response`
|
16023
16438
|
|
16024
16439
|
:example:
|
16025
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
16440
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/object_stats.py.html>`__ to see an example of how to use object_stats API.
|
16026
16441
|
"""
|
16027
16442
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
16028
16443
|
required_arguments = ['catalogId']
|
@@ -16164,7 +16579,7 @@ class DataCatalogClient(object):
|
|
16164
16579
|
:rtype: :class:`~oci.response.Response`
|
16165
16580
|
|
16166
16581
|
:example:
|
16167
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
16582
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/parse_connection.py.html>`__ to see an example of how to use parse_connection API.
|
16168
16583
|
"""
|
16169
16584
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
16170
16585
|
required_arguments = ['catalogId', 'dataAssetKey']
|
@@ -16198,15 +16613,276 @@ class DataCatalogClient(object):
|
|
16198
16613
|
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
16199
16614
|
|
16200
16615
|
query_params = {
|
16201
|
-
"connectionKey": kwargs.get("connection_key", missing)
|
16616
|
+
"connectionKey": kwargs.get("connection_key", missing)
|
16617
|
+
}
|
16618
|
+
query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
|
16619
|
+
|
16620
|
+
header_params = {
|
16621
|
+
"accept": "application/json",
|
16622
|
+
"content-type": "application/json",
|
16623
|
+
"opc-request-id": kwargs.get("opc_request_id", missing),
|
16624
|
+
"opc-retry-token": kwargs.get("opc_retry_token", missing)
|
16625
|
+
}
|
16626
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
16627
|
+
|
16628
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
16629
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
16630
|
+
client_retry_strategy=self.retry_strategy
|
16631
|
+
)
|
16632
|
+
|
16633
|
+
if retry_strategy:
|
16634
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
16635
|
+
self.base_client.add_opc_retry_token_if_needed(header_params)
|
16636
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
16637
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
16638
|
+
return retry_strategy.make_retrying_call(
|
16639
|
+
self.base_client.call_api,
|
16640
|
+
resource_path=resource_path,
|
16641
|
+
method=method,
|
16642
|
+
path_params=path_params,
|
16643
|
+
query_params=query_params,
|
16644
|
+
header_params=header_params,
|
16645
|
+
body=parse_connection_details,
|
16646
|
+
response_type="list[ConnectionAliasSummary]",
|
16647
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
16648
|
+
operation_name=operation_name,
|
16649
|
+
api_reference_link=api_reference_link,
|
16650
|
+
required_arguments=required_arguments)
|
16651
|
+
else:
|
16652
|
+
return self.base_client.call_api(
|
16653
|
+
resource_path=resource_path,
|
16654
|
+
method=method,
|
16655
|
+
path_params=path_params,
|
16656
|
+
query_params=query_params,
|
16657
|
+
header_params=header_params,
|
16658
|
+
body=parse_connection_details,
|
16659
|
+
response_type="list[ConnectionAliasSummary]",
|
16660
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
16661
|
+
operation_name=operation_name,
|
16662
|
+
api_reference_link=api_reference_link,
|
16663
|
+
required_arguments=required_arguments)
|
16664
|
+
|
16665
|
+
def process_recommendation(self, catalog_id, process_recommendation_details, **kwargs):
|
16666
|
+
"""
|
16667
|
+
Act on a recommendation. A recommendation can be accepted or rejected. For example, if a recommendation of type LINK_GLOSSARY_TERM
|
16668
|
+
is accepted, the system will link the source object (e.g. an attribute) to a target glossary term.
|
16669
|
+
|
16670
|
+
|
16671
|
+
:param str catalog_id: (required)
|
16672
|
+
Unique catalog identifier.
|
16673
|
+
|
16674
|
+
:param oci.data_catalog.models.ProcessRecommendationDetails process_recommendation_details: (required)
|
16675
|
+
Recommendation to be processed.
|
16676
|
+
|
16677
|
+
:param str if_match: (optional)
|
16678
|
+
For optimistic concurrency control. In the PUT or DELETE call
|
16679
|
+
for a resource, set the `if-match` parameter to the value of the
|
16680
|
+
etag from a previous GET or POST response for that resource.
|
16681
|
+
The resource will be updated or deleted only if the etag you
|
16682
|
+
provide matches the resource's current etag value.
|
16683
|
+
|
16684
|
+
:param str opc_request_id: (optional)
|
16685
|
+
The client request ID for tracing.
|
16686
|
+
|
16687
|
+
:param obj retry_strategy: (optional)
|
16688
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
16689
|
+
|
16690
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
|
16691
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
16692
|
+
|
16693
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
16694
|
+
|
16695
|
+
:param bool allow_control_chars: (optional)
|
16696
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
16697
|
+
By default, the response will not allow control characters in strings
|
16698
|
+
|
16699
|
+
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.data_catalog.models.ProcessRecommendationDetails`
|
16700
|
+
:rtype: :class:`~oci.response.Response`
|
16701
|
+
|
16702
|
+
:example:
|
16703
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/process_recommendation.py.html>`__ to see an example of how to use process_recommendation API.
|
16704
|
+
"""
|
16705
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
16706
|
+
required_arguments = ['catalogId']
|
16707
|
+
resource_path = "/catalogs/{catalogId}/actions/processRecommendation"
|
16708
|
+
method = "POST"
|
16709
|
+
operation_name = "process_recommendation"
|
16710
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/data-catalog/20190325/Catalog/ProcessRecommendation"
|
16711
|
+
|
16712
|
+
# Don't accept unknown kwargs
|
16713
|
+
expected_kwargs = [
|
16714
|
+
"allow_control_chars",
|
16715
|
+
"retry_strategy",
|
16716
|
+
"if_match",
|
16717
|
+
"opc_request_id"
|
16718
|
+
]
|
16719
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
16720
|
+
if extra_kwargs:
|
16721
|
+
raise ValueError(
|
16722
|
+
f"process_recommendation got unknown kwargs: {extra_kwargs!r}")
|
16723
|
+
|
16724
|
+
path_params = {
|
16725
|
+
"catalogId": catalog_id
|
16726
|
+
}
|
16727
|
+
|
16728
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
16729
|
+
|
16730
|
+
for (k, v) in six.iteritems(path_params):
|
16731
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
16732
|
+
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
16733
|
+
|
16734
|
+
header_params = {
|
16735
|
+
"accept": "application/json",
|
16736
|
+
"content-type": "application/json",
|
16737
|
+
"if-match": kwargs.get("if_match", missing),
|
16738
|
+
"opc-request-id": kwargs.get("opc_request_id", missing)
|
16739
|
+
}
|
16740
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
16741
|
+
|
16742
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
16743
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
16744
|
+
client_retry_strategy=self.retry_strategy
|
16745
|
+
)
|
16746
|
+
|
16747
|
+
if retry_strategy:
|
16748
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
16749
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
16750
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
16751
|
+
return retry_strategy.make_retrying_call(
|
16752
|
+
self.base_client.call_api,
|
16753
|
+
resource_path=resource_path,
|
16754
|
+
method=method,
|
16755
|
+
path_params=path_params,
|
16756
|
+
header_params=header_params,
|
16757
|
+
body=process_recommendation_details,
|
16758
|
+
response_type="ProcessRecommendationDetails",
|
16759
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
16760
|
+
operation_name=operation_name,
|
16761
|
+
api_reference_link=api_reference_link,
|
16762
|
+
required_arguments=required_arguments)
|
16763
|
+
else:
|
16764
|
+
return self.base_client.call_api(
|
16765
|
+
resource_path=resource_path,
|
16766
|
+
method=method,
|
16767
|
+
path_params=path_params,
|
16768
|
+
header_params=header_params,
|
16769
|
+
body=process_recommendation_details,
|
16770
|
+
response_type="ProcessRecommendationDetails",
|
16771
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
16772
|
+
operation_name=operation_name,
|
16773
|
+
api_reference_link=api_reference_link,
|
16774
|
+
required_arguments=required_arguments)
|
16775
|
+
|
16776
|
+
def recommendations(self, catalog_id, recommendation_type, source_object_key, source_object_type, **kwargs):
|
16777
|
+
"""
|
16778
|
+
Returns a list of recommendations for the given object and recommendation type.
|
16779
|
+
By default, it will return inferred recommendations for review. The optional query param 'RecommendationStatus' can be set,
|
16780
|
+
to return only recommendations having that status.
|
16781
|
+
|
16782
|
+
|
16783
|
+
:param str catalog_id: (required)
|
16784
|
+
Unique catalog identifier.
|
16785
|
+
|
16786
|
+
:param oci.data_catalog.models.list[str] recommendation_type: (required)
|
16787
|
+
A filter used to return only recommendations of the specified type.
|
16788
|
+
|
16789
|
+
Allowed values are: "LINK_GLOSSARY_TERM"
|
16790
|
+
|
16791
|
+
:param str source_object_key: (required)
|
16792
|
+
A filter used to provide the unique identifier of the source object, for which a list of recommendations will be returned for review.
|
16793
|
+
|
16794
|
+
:param str source_object_type: (required)
|
16795
|
+
A filter used to provide the type of the source object, for which a list of recommendations will be returned for review.
|
16796
|
+
|
16797
|
+
Allowed values are: "DATA_ENTITY", "ATTRIBUTE", "TERM", "CATEGORY"
|
16798
|
+
|
16799
|
+
:param str recommendation_status: (optional)
|
16800
|
+
A filter used to return only recommendations having the requested status.
|
16801
|
+
|
16802
|
+
Allowed values are: "ACCEPTED", "REJECTED", "INFERRED"
|
16803
|
+
|
16804
|
+
:param str opc_request_id: (optional)
|
16805
|
+
The client request ID for tracing.
|
16806
|
+
|
16807
|
+
:param obj retry_strategy: (optional)
|
16808
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
16809
|
+
|
16810
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
|
16811
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
16812
|
+
|
16813
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
16814
|
+
|
16815
|
+
:param bool allow_control_chars: (optional)
|
16816
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
16817
|
+
By default, the response will not allow control characters in strings
|
16818
|
+
|
16819
|
+
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.data_catalog.models.RecommendationCollection`
|
16820
|
+
:rtype: :class:`~oci.response.Response`
|
16821
|
+
|
16822
|
+
:example:
|
16823
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/recommendations.py.html>`__ to see an example of how to use recommendations API.
|
16824
|
+
"""
|
16825
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
16826
|
+
required_arguments = ['catalogId', 'recommendationType', 'sourceObjectKey', 'sourceObjectType']
|
16827
|
+
resource_path = "/catalogs/{catalogId}/actions/getRecommendations"
|
16828
|
+
method = "POST"
|
16829
|
+
operation_name = "recommendations"
|
16830
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/data-catalog/20190325/Catalog/Recommendations"
|
16831
|
+
|
16832
|
+
# Don't accept unknown kwargs
|
16833
|
+
expected_kwargs = [
|
16834
|
+
"allow_control_chars",
|
16835
|
+
"retry_strategy",
|
16836
|
+
"recommendation_status",
|
16837
|
+
"opc_request_id"
|
16838
|
+
]
|
16839
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
16840
|
+
if extra_kwargs:
|
16841
|
+
raise ValueError(
|
16842
|
+
f"recommendations got unknown kwargs: {extra_kwargs!r}")
|
16843
|
+
|
16844
|
+
path_params = {
|
16845
|
+
"catalogId": catalog_id
|
16846
|
+
}
|
16847
|
+
|
16848
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
16849
|
+
|
16850
|
+
for (k, v) in six.iteritems(path_params):
|
16851
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
16852
|
+
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
16853
|
+
|
16854
|
+
recommendation_type_allowed_values = ["LINK_GLOSSARY_TERM"]
|
16855
|
+
for recommendation_type_item in recommendation_type:
|
16856
|
+
if recommendation_type_item not in recommendation_type_allowed_values:
|
16857
|
+
raise ValueError(
|
16858
|
+
f"Invalid value for `recommendation_type`, must be one of { recommendation_type_allowed_values }"
|
16859
|
+
)
|
16860
|
+
|
16861
|
+
source_object_type_allowed_values = ["DATA_ENTITY", "ATTRIBUTE", "TERM", "CATEGORY"]
|
16862
|
+
if source_object_type not in source_object_type_allowed_values:
|
16863
|
+
raise ValueError(
|
16864
|
+
f"Invalid value for `source_object_type`, must be one of { source_object_type_allowed_values }"
|
16865
|
+
)
|
16866
|
+
|
16867
|
+
if 'recommendation_status' in kwargs:
|
16868
|
+
recommendation_status_allowed_values = ["ACCEPTED", "REJECTED", "INFERRED"]
|
16869
|
+
if kwargs['recommendation_status'] not in recommendation_status_allowed_values:
|
16870
|
+
raise ValueError(
|
16871
|
+
f"Invalid value for `recommendation_status`, must be one of { recommendation_status_allowed_values }"
|
16872
|
+
)
|
16873
|
+
|
16874
|
+
query_params = {
|
16875
|
+
"recommendationType": self.base_client.generate_collection_format_param(recommendation_type, 'multi'),
|
16876
|
+
"sourceObjectKey": source_object_key,
|
16877
|
+
"sourceObjectType": source_object_type,
|
16878
|
+
"recommendationStatus": kwargs.get("recommendation_status", missing)
|
16202
16879
|
}
|
16203
16880
|
query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
|
16204
16881
|
|
16205
16882
|
header_params = {
|
16206
16883
|
"accept": "application/json",
|
16207
16884
|
"content-type": "application/json",
|
16208
|
-
"opc-request-id": kwargs.get("opc_request_id", missing)
|
16209
|
-
"opc-retry-token": kwargs.get("opc_retry_token", missing)
|
16885
|
+
"opc-request-id": kwargs.get("opc_request_id", missing)
|
16210
16886
|
}
|
16211
16887
|
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
16212
16888
|
|
@@ -16217,7 +16893,6 @@ class DataCatalogClient(object):
|
|
16217
16893
|
|
16218
16894
|
if retry_strategy:
|
16219
16895
|
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
16220
|
-
self.base_client.add_opc_retry_token_if_needed(header_params)
|
16221
16896
|
self.base_client.add_opc_client_retries_header(header_params)
|
16222
16897
|
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
16223
16898
|
return retry_strategy.make_retrying_call(
|
@@ -16227,8 +16902,7 @@ class DataCatalogClient(object):
|
|
16227
16902
|
path_params=path_params,
|
16228
16903
|
query_params=query_params,
|
16229
16904
|
header_params=header_params,
|
16230
|
-
|
16231
|
-
response_type="list[ConnectionAliasSummary]",
|
16905
|
+
response_type="RecommendationCollection",
|
16232
16906
|
allow_control_chars=kwargs.get('allow_control_chars'),
|
16233
16907
|
operation_name=operation_name,
|
16234
16908
|
api_reference_link=api_reference_link,
|
@@ -16240,34 +16914,31 @@ class DataCatalogClient(object):
|
|
16240
16914
|
path_params=path_params,
|
16241
16915
|
query_params=query_params,
|
16242
16916
|
header_params=header_params,
|
16243
|
-
|
16244
|
-
response_type="list[ConnectionAliasSummary]",
|
16917
|
+
response_type="RecommendationCollection",
|
16245
16918
|
allow_control_chars=kwargs.get('allow_control_chars'),
|
16246
16919
|
operation_name=operation_name,
|
16247
16920
|
api_reference_link=api_reference_link,
|
16248
16921
|
required_arguments=required_arguments)
|
16249
16922
|
|
16250
|
-
def
|
16923
|
+
def remove_catalog_lock(self, catalog_id, remove_resource_lock_details, **kwargs):
|
16251
16924
|
"""
|
16252
|
-
|
16253
|
-
is accepted, the system will link the source object (e.g. an attribute) to a target glossary term.
|
16925
|
+
Removes a lock from a Catalog resource.
|
16254
16926
|
|
16255
16927
|
|
16256
16928
|
:param str catalog_id: (required)
|
16257
16929
|
Unique catalog identifier.
|
16258
16930
|
|
16259
|
-
:param oci.data_catalog.models.
|
16260
|
-
|
16261
|
-
|
16262
|
-
:param str if_match: (optional)
|
16263
|
-
For optimistic concurrency control. In the PUT or DELETE call
|
16264
|
-
for a resource, set the `if-match` parameter to the value of the
|
16265
|
-
etag from a previous GET or POST response for that resource.
|
16266
|
-
The resource will be updated or deleted only if the etag you
|
16267
|
-
provide matches the resource's current etag value.
|
16931
|
+
:param oci.data_catalog.models.RemoveResourceLockDetails remove_resource_lock_details: (required)
|
16932
|
+
RemoveResourceLockDetails body parameter
|
16268
16933
|
|
16269
16934
|
:param str opc_request_id: (optional)
|
16270
|
-
|
16935
|
+
Unique identifier for the request.
|
16936
|
+
If you need to contact Oracle about a particular request, please provide the request ID.
|
16937
|
+
|
16938
|
+
:param str if_match: (optional)
|
16939
|
+
For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
|
16940
|
+
parameter to the value of the etag from a previous GET or POST response for that resource. The resource
|
16941
|
+
will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
16271
16942
|
|
16272
16943
|
:param obj retry_strategy: (optional)
|
16273
16944
|
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
@@ -16281,30 +16952,30 @@ class DataCatalogClient(object):
|
|
16281
16952
|
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
16282
16953
|
By default, the response will not allow control characters in strings
|
16283
16954
|
|
16284
|
-
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.data_catalog.models.
|
16955
|
+
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.data_catalog.models.Catalog`
|
16285
16956
|
:rtype: :class:`~oci.response.Response`
|
16286
16957
|
|
16287
16958
|
:example:
|
16288
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
16959
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/remove_catalog_lock.py.html>`__ to see an example of how to use remove_catalog_lock API.
|
16289
16960
|
"""
|
16290
16961
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
16291
16962
|
required_arguments = ['catalogId']
|
16292
|
-
resource_path = "/catalogs/{catalogId}/actions/
|
16963
|
+
resource_path = "/catalogs/{catalogId}/actions/removeLock"
|
16293
16964
|
method = "POST"
|
16294
|
-
operation_name = "
|
16295
|
-
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/data-catalog/20190325/Catalog/
|
16965
|
+
operation_name = "remove_catalog_lock"
|
16966
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/data-catalog/20190325/Catalog/RemoveCatalogLock"
|
16296
16967
|
|
16297
16968
|
# Don't accept unknown kwargs
|
16298
16969
|
expected_kwargs = [
|
16299
16970
|
"allow_control_chars",
|
16300
16971
|
"retry_strategy",
|
16301
|
-
"
|
16302
|
-
"
|
16972
|
+
"opc_request_id",
|
16973
|
+
"if_match"
|
16303
16974
|
]
|
16304
16975
|
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
16305
16976
|
if extra_kwargs:
|
16306
16977
|
raise ValueError(
|
16307
|
-
f"
|
16978
|
+
f"remove_catalog_lock got unknown kwargs: {extra_kwargs!r}")
|
16308
16979
|
|
16309
16980
|
path_params = {
|
16310
16981
|
"catalogId": catalog_id
|
@@ -16319,8 +16990,8 @@ class DataCatalogClient(object):
|
|
16319
16990
|
header_params = {
|
16320
16991
|
"accept": "application/json",
|
16321
16992
|
"content-type": "application/json",
|
16322
|
-
"
|
16323
|
-
"
|
16993
|
+
"opc-request-id": kwargs.get("opc_request_id", missing),
|
16994
|
+
"if-match": kwargs.get("if_match", missing)
|
16324
16995
|
}
|
16325
16996
|
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
16326
16997
|
|
@@ -16339,8 +17010,8 @@ class DataCatalogClient(object):
|
|
16339
17010
|
method=method,
|
16340
17011
|
path_params=path_params,
|
16341
17012
|
header_params=header_params,
|
16342
|
-
body=
|
16343
|
-
response_type="
|
17013
|
+
body=remove_resource_lock_details,
|
17014
|
+
response_type="Catalog",
|
16344
17015
|
allow_control_chars=kwargs.get('allow_control_chars'),
|
16345
17016
|
operation_name=operation_name,
|
16346
17017
|
api_reference_link=api_reference_link,
|
@@ -16351,43 +17022,32 @@ class DataCatalogClient(object):
|
|
16351
17022
|
method=method,
|
16352
17023
|
path_params=path_params,
|
16353
17024
|
header_params=header_params,
|
16354
|
-
body=
|
16355
|
-
response_type="
|
17025
|
+
body=remove_resource_lock_details,
|
17026
|
+
response_type="Catalog",
|
16356
17027
|
allow_control_chars=kwargs.get('allow_control_chars'),
|
16357
17028
|
operation_name=operation_name,
|
16358
17029
|
api_reference_link=api_reference_link,
|
16359
17030
|
required_arguments=required_arguments)
|
16360
17031
|
|
16361
|
-
def
|
17032
|
+
def remove_catalog_private_endpoint_lock(self, catalog_private_endpoint_id, remove_resource_lock_details, **kwargs):
|
16362
17033
|
"""
|
16363
|
-
|
16364
|
-
By default, it will return inferred recommendations for review. The optional query param 'RecommendationStatus' can be set,
|
16365
|
-
to return only recommendations having that status.
|
16366
|
-
|
16367
|
-
|
16368
|
-
:param str catalog_id: (required)
|
16369
|
-
Unique catalog identifier.
|
16370
|
-
|
16371
|
-
:param oci.data_catalog.models.list[str] recommendation_type: (required)
|
16372
|
-
A filter used to return only recommendations of the specified type.
|
16373
|
-
|
16374
|
-
Allowed values are: "LINK_GLOSSARY_TERM"
|
16375
|
-
|
16376
|
-
:param str source_object_key: (required)
|
16377
|
-
A filter used to provide the unique identifier of the source object, for which a list of recommendations will be returned for review.
|
16378
|
-
|
16379
|
-
:param str source_object_type: (required)
|
16380
|
-
A filter used to provide the type of the source object, for which a list of recommendations will be returned for review.
|
17034
|
+
Removes a lock from a CatalogPrivateEndpoint resource.
|
16381
17035
|
|
16382
|
-
Allowed values are: "DATA_ENTITY", "ATTRIBUTE", "TERM", "CATEGORY"
|
16383
17036
|
|
16384
|
-
:param str
|
16385
|
-
|
17037
|
+
:param str catalog_private_endpoint_id: (required)
|
17038
|
+
Unique private reverse connection identifier.
|
16386
17039
|
|
16387
|
-
|
17040
|
+
:param oci.data_catalog.models.RemoveResourceLockDetails remove_resource_lock_details: (required)
|
17041
|
+
RemoveResourceLockDetails body parameter
|
16388
17042
|
|
16389
17043
|
:param str opc_request_id: (optional)
|
16390
|
-
|
17044
|
+
Unique identifier for the request.
|
17045
|
+
If you need to contact Oracle about a particular request, please provide the request ID.
|
17046
|
+
|
17047
|
+
:param str if_match: (optional)
|
17048
|
+
For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
|
17049
|
+
parameter to the value of the etag from a previous GET or POST response for that resource. The resource
|
17050
|
+
will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
16391
17051
|
|
16392
17052
|
:param obj retry_strategy: (optional)
|
16393
17053
|
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
@@ -16401,33 +17061,33 @@ class DataCatalogClient(object):
|
|
16401
17061
|
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
16402
17062
|
By default, the response will not allow control characters in strings
|
16403
17063
|
|
16404
|
-
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.data_catalog.models.
|
17064
|
+
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.data_catalog.models.CatalogPrivateEndpoint`
|
16405
17065
|
:rtype: :class:`~oci.response.Response`
|
16406
17066
|
|
16407
17067
|
:example:
|
16408
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
17068
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/remove_catalog_private_endpoint_lock.py.html>`__ to see an example of how to use remove_catalog_private_endpoint_lock API.
|
16409
17069
|
"""
|
16410
17070
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
16411
|
-
required_arguments = ['
|
16412
|
-
resource_path = "/
|
17071
|
+
required_arguments = ['catalogPrivateEndpointId']
|
17072
|
+
resource_path = "/catalogPrivateEndpoints/{catalogPrivateEndpointId}/actions/removeLock"
|
16413
17073
|
method = "POST"
|
16414
|
-
operation_name = "
|
16415
|
-
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/data-catalog/20190325/
|
17074
|
+
operation_name = "remove_catalog_private_endpoint_lock"
|
17075
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/data-catalog/20190325/CatalogPrivateEndpoint/RemoveCatalogPrivateEndpointLock"
|
16416
17076
|
|
16417
17077
|
# Don't accept unknown kwargs
|
16418
17078
|
expected_kwargs = [
|
16419
17079
|
"allow_control_chars",
|
16420
17080
|
"retry_strategy",
|
16421
|
-
"
|
16422
|
-
"
|
17081
|
+
"opc_request_id",
|
17082
|
+
"if_match"
|
16423
17083
|
]
|
16424
17084
|
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
16425
17085
|
if extra_kwargs:
|
16426
17086
|
raise ValueError(
|
16427
|
-
f"
|
17087
|
+
f"remove_catalog_private_endpoint_lock got unknown kwargs: {extra_kwargs!r}")
|
16428
17088
|
|
16429
17089
|
path_params = {
|
16430
|
-
"
|
17090
|
+
"catalogPrivateEndpointId": catalog_private_endpoint_id
|
16431
17091
|
}
|
16432
17092
|
|
16433
17093
|
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
@@ -16436,38 +17096,11 @@ class DataCatalogClient(object):
|
|
16436
17096
|
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
16437
17097
|
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
16438
17098
|
|
16439
|
-
recommendation_type_allowed_values = ["LINK_GLOSSARY_TERM"]
|
16440
|
-
for recommendation_type_item in recommendation_type:
|
16441
|
-
if recommendation_type_item not in recommendation_type_allowed_values:
|
16442
|
-
raise ValueError(
|
16443
|
-
f"Invalid value for `recommendation_type`, must be one of { recommendation_type_allowed_values }"
|
16444
|
-
)
|
16445
|
-
|
16446
|
-
source_object_type_allowed_values = ["DATA_ENTITY", "ATTRIBUTE", "TERM", "CATEGORY"]
|
16447
|
-
if source_object_type not in source_object_type_allowed_values:
|
16448
|
-
raise ValueError(
|
16449
|
-
f"Invalid value for `source_object_type`, must be one of { source_object_type_allowed_values }"
|
16450
|
-
)
|
16451
|
-
|
16452
|
-
if 'recommendation_status' in kwargs:
|
16453
|
-
recommendation_status_allowed_values = ["ACCEPTED", "REJECTED", "INFERRED"]
|
16454
|
-
if kwargs['recommendation_status'] not in recommendation_status_allowed_values:
|
16455
|
-
raise ValueError(
|
16456
|
-
f"Invalid value for `recommendation_status`, must be one of { recommendation_status_allowed_values }"
|
16457
|
-
)
|
16458
|
-
|
16459
|
-
query_params = {
|
16460
|
-
"recommendationType": self.base_client.generate_collection_format_param(recommendation_type, 'multi'),
|
16461
|
-
"sourceObjectKey": source_object_key,
|
16462
|
-
"sourceObjectType": source_object_type,
|
16463
|
-
"recommendationStatus": kwargs.get("recommendation_status", missing)
|
16464
|
-
}
|
16465
|
-
query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
|
16466
|
-
|
16467
17099
|
header_params = {
|
16468
17100
|
"accept": "application/json",
|
16469
17101
|
"content-type": "application/json",
|
16470
|
-
"opc-request-id": kwargs.get("opc_request_id", missing)
|
17102
|
+
"opc-request-id": kwargs.get("opc_request_id", missing),
|
17103
|
+
"if-match": kwargs.get("if_match", missing)
|
16471
17104
|
}
|
16472
17105
|
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
16473
17106
|
|
@@ -16485,9 +17118,9 @@ class DataCatalogClient(object):
|
|
16485
17118
|
resource_path=resource_path,
|
16486
17119
|
method=method,
|
16487
17120
|
path_params=path_params,
|
16488
|
-
query_params=query_params,
|
16489
17121
|
header_params=header_params,
|
16490
|
-
|
17122
|
+
body=remove_resource_lock_details,
|
17123
|
+
response_type="CatalogPrivateEndpoint",
|
16491
17124
|
allow_control_chars=kwargs.get('allow_control_chars'),
|
16492
17125
|
operation_name=operation_name,
|
16493
17126
|
api_reference_link=api_reference_link,
|
@@ -16497,9 +17130,9 @@ class DataCatalogClient(object):
|
|
16497
17130
|
resource_path=resource_path,
|
16498
17131
|
method=method,
|
16499
17132
|
path_params=path_params,
|
16500
|
-
query_params=query_params,
|
16501
17133
|
header_params=header_params,
|
16502
|
-
|
17134
|
+
body=remove_resource_lock_details,
|
17135
|
+
response_type="CatalogPrivateEndpoint",
|
16503
17136
|
allow_control_chars=kwargs.get('allow_control_chars'),
|
16504
17137
|
operation_name=operation_name,
|
16505
17138
|
api_reference_link=api_reference_link,
|
@@ -16552,7 +17185,7 @@ class DataCatalogClient(object):
|
|
16552
17185
|
:rtype: :class:`~oci.response.Response`
|
16553
17186
|
|
16554
17187
|
:example:
|
16555
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
17188
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/remove_data_selector_patterns.py.html>`__ to see an example of how to use remove_data_selector_patterns API.
|
16556
17189
|
"""
|
16557
17190
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
16558
17191
|
required_arguments = ['catalogId', 'dataAssetKey']
|
@@ -16629,6 +17262,115 @@ class DataCatalogClient(object):
|
|
16629
17262
|
api_reference_link=api_reference_link,
|
16630
17263
|
required_arguments=required_arguments)
|
16631
17264
|
|
17265
|
+
def remove_metastore_lock(self, metastore_id, remove_resource_lock_details, **kwargs):
|
17266
|
+
"""
|
17267
|
+
Removes a lock from a Metastore resource.
|
17268
|
+
|
17269
|
+
|
17270
|
+
:param str metastore_id: (required)
|
17271
|
+
The metastore's OCID.
|
17272
|
+
|
17273
|
+
:param oci.data_catalog.models.RemoveResourceLockDetails remove_resource_lock_details: (required)
|
17274
|
+
RemoveResourceLockDetails body parameter
|
17275
|
+
|
17276
|
+
:param str opc_request_id: (optional)
|
17277
|
+
Unique identifier for the request.
|
17278
|
+
If you need to contact Oracle about a particular request, please provide the request ID.
|
17279
|
+
|
17280
|
+
:param str if_match: (optional)
|
17281
|
+
For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
|
17282
|
+
parameter to the value of the etag from a previous GET or POST response for that resource. The resource
|
17283
|
+
will be updated or deleted only if the etag you provide matches the resource's current etag value.
|
17284
|
+
|
17285
|
+
:param obj retry_strategy: (optional)
|
17286
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
17287
|
+
|
17288
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
|
17289
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
17290
|
+
|
17291
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
17292
|
+
|
17293
|
+
:param bool allow_control_chars: (optional)
|
17294
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
17295
|
+
By default, the response will not allow control characters in strings
|
17296
|
+
|
17297
|
+
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.data_catalog.models.Metastore`
|
17298
|
+
:rtype: :class:`~oci.response.Response`
|
17299
|
+
|
17300
|
+
:example:
|
17301
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/remove_metastore_lock.py.html>`__ to see an example of how to use remove_metastore_lock API.
|
17302
|
+
"""
|
17303
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
17304
|
+
required_arguments = ['metastoreId']
|
17305
|
+
resource_path = "/metastores/{metastoreId}/actions/removeLock"
|
17306
|
+
method = "POST"
|
17307
|
+
operation_name = "remove_metastore_lock"
|
17308
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/data-catalog/20190325/Metastore/RemoveMetastoreLock"
|
17309
|
+
|
17310
|
+
# Don't accept unknown kwargs
|
17311
|
+
expected_kwargs = [
|
17312
|
+
"allow_control_chars",
|
17313
|
+
"retry_strategy",
|
17314
|
+
"opc_request_id",
|
17315
|
+
"if_match"
|
17316
|
+
]
|
17317
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
17318
|
+
if extra_kwargs:
|
17319
|
+
raise ValueError(
|
17320
|
+
f"remove_metastore_lock got unknown kwargs: {extra_kwargs!r}")
|
17321
|
+
|
17322
|
+
path_params = {
|
17323
|
+
"metastoreId": metastore_id
|
17324
|
+
}
|
17325
|
+
|
17326
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
17327
|
+
|
17328
|
+
for (k, v) in six.iteritems(path_params):
|
17329
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
17330
|
+
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
17331
|
+
|
17332
|
+
header_params = {
|
17333
|
+
"accept": "application/json",
|
17334
|
+
"content-type": "application/json",
|
17335
|
+
"opc-request-id": kwargs.get("opc_request_id", missing),
|
17336
|
+
"if-match": kwargs.get("if_match", missing)
|
17337
|
+
}
|
17338
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
17339
|
+
|
17340
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
17341
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
17342
|
+
client_retry_strategy=self.retry_strategy
|
17343
|
+
)
|
17344
|
+
|
17345
|
+
if retry_strategy:
|
17346
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
17347
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
17348
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
17349
|
+
return retry_strategy.make_retrying_call(
|
17350
|
+
self.base_client.call_api,
|
17351
|
+
resource_path=resource_path,
|
17352
|
+
method=method,
|
17353
|
+
path_params=path_params,
|
17354
|
+
header_params=header_params,
|
17355
|
+
body=remove_resource_lock_details,
|
17356
|
+
response_type="Metastore",
|
17357
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
17358
|
+
operation_name=operation_name,
|
17359
|
+
api_reference_link=api_reference_link,
|
17360
|
+
required_arguments=required_arguments)
|
17361
|
+
else:
|
17362
|
+
return self.base_client.call_api(
|
17363
|
+
resource_path=resource_path,
|
17364
|
+
method=method,
|
17365
|
+
path_params=path_params,
|
17366
|
+
header_params=header_params,
|
17367
|
+
body=remove_resource_lock_details,
|
17368
|
+
response_type="Metastore",
|
17369
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
17370
|
+
operation_name=operation_name,
|
17371
|
+
api_reference_link=api_reference_link,
|
17372
|
+
required_arguments=required_arguments)
|
17373
|
+
|
16632
17374
|
def search_criteria(self, catalog_id, **kwargs):
|
16633
17375
|
"""
|
16634
17376
|
Returns a list of search results within a data catalog.
|
@@ -16691,7 +17433,7 @@ class DataCatalogClient(object):
|
|
16691
17433
|
:rtype: :class:`~oci.response.Response`
|
16692
17434
|
|
16693
17435
|
:example:
|
16694
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
17436
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/search_criteria.py.html>`__ to see an example of how to use search_criteria API.
|
16695
17437
|
"""
|
16696
17438
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
16697
17439
|
required_arguments = ['catalogId']
|
@@ -16846,7 +17588,7 @@ class DataCatalogClient(object):
|
|
16846
17588
|
:rtype: :class:`~oci.response.Response`
|
16847
17589
|
|
16848
17590
|
:example:
|
16849
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
17591
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/suggest_matches.py.html>`__ to see an example of how to use suggest_matches API.
|
16850
17592
|
"""
|
16851
17593
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
16852
17594
|
required_arguments = ['catalogId', 'inputText']
|
@@ -16973,7 +17715,7 @@ class DataCatalogClient(object):
|
|
16973
17715
|
:rtype: :class:`~oci.response.Response`
|
16974
17716
|
|
16975
17717
|
:example:
|
16976
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
17718
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/synchronous_export_data_asset.py.html>`__ to see an example of how to use synchronous_export_data_asset API.
|
16977
17719
|
"""
|
16978
17720
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
16979
17721
|
required_arguments = ['catalogId', 'dataAssetKey', 'exportType']
|
@@ -17102,7 +17844,7 @@ class DataCatalogClient(object):
|
|
17102
17844
|
:rtype: :class:`~oci.response.Response`
|
17103
17845
|
|
17104
17846
|
:example:
|
17105
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
17847
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/test_connection.py.html>`__ to see an example of how to use test_connection API.
|
17106
17848
|
"""
|
17107
17849
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
17108
17850
|
required_arguments = ['catalogId', 'dataAssetKey', 'connectionKey']
|
@@ -17224,7 +17966,7 @@ class DataCatalogClient(object):
|
|
17224
17966
|
:rtype: :class:`~oci.response.Response`
|
17225
17967
|
|
17226
17968
|
:example:
|
17227
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
17969
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/update_attribute.py.html>`__ to see an example of how to use update_attribute API.
|
17228
17970
|
"""
|
17229
17971
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
17230
17972
|
required_arguments = ['catalogId', 'dataAssetKey', 'entityKey', 'attributeKey']
|
@@ -17321,6 +18063,9 @@ class DataCatalogClient(object):
|
|
17321
18063
|
:param str opc_request_id: (optional)
|
17322
18064
|
The client request ID for tracing.
|
17323
18065
|
|
18066
|
+
:param bool is_lock_override: (optional)
|
18067
|
+
Whether to override locks (if any exist).
|
18068
|
+
|
17324
18069
|
:param obj retry_strategy: (optional)
|
17325
18070
|
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
17326
18071
|
|
@@ -17337,7 +18082,7 @@ class DataCatalogClient(object):
|
|
17337
18082
|
:rtype: :class:`~oci.response.Response`
|
17338
18083
|
|
17339
18084
|
:example:
|
17340
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
18085
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/update_catalog.py.html>`__ to see an example of how to use update_catalog API.
|
17341
18086
|
"""
|
17342
18087
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
17343
18088
|
required_arguments = ['catalogId']
|
@@ -17351,7 +18096,8 @@ class DataCatalogClient(object):
|
|
17351
18096
|
"allow_control_chars",
|
17352
18097
|
"retry_strategy",
|
17353
18098
|
"if_match",
|
17354
|
-
"opc_request_id"
|
18099
|
+
"opc_request_id",
|
18100
|
+
"is_lock_override"
|
17355
18101
|
]
|
17356
18102
|
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
17357
18103
|
if extra_kwargs:
|
@@ -17368,6 +18114,11 @@ class DataCatalogClient(object):
|
|
17368
18114
|
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
17369
18115
|
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
17370
18116
|
|
18117
|
+
query_params = {
|
18118
|
+
"isLockOverride": kwargs.get("is_lock_override", missing)
|
18119
|
+
}
|
18120
|
+
query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
|
18121
|
+
|
17371
18122
|
header_params = {
|
17372
18123
|
"accept": "application/json",
|
17373
18124
|
"content-type": "application/json",
|
@@ -17390,6 +18141,7 @@ class DataCatalogClient(object):
|
|
17390
18141
|
resource_path=resource_path,
|
17391
18142
|
method=method,
|
17392
18143
|
path_params=path_params,
|
18144
|
+
query_params=query_params,
|
17393
18145
|
header_params=header_params,
|
17394
18146
|
body=update_catalog_details,
|
17395
18147
|
response_type="Catalog",
|
@@ -17402,6 +18154,7 @@ class DataCatalogClient(object):
|
|
17402
18154
|
resource_path=resource_path,
|
17403
18155
|
method=method,
|
17404
18156
|
path_params=path_params,
|
18157
|
+
query_params=query_params,
|
17405
18158
|
header_params=header_params,
|
17406
18159
|
body=update_catalog_details,
|
17407
18160
|
response_type="Catalog",
|
@@ -17431,6 +18184,9 @@ class DataCatalogClient(object):
|
|
17431
18184
|
:param str opc_request_id: (optional)
|
17432
18185
|
The client request ID for tracing.
|
17433
18186
|
|
18187
|
+
:param bool is_lock_override: (optional)
|
18188
|
+
Whether to override locks (if any exist).
|
18189
|
+
|
17434
18190
|
:param obj retry_strategy: (optional)
|
17435
18191
|
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
17436
18192
|
|
@@ -17447,7 +18203,7 @@ class DataCatalogClient(object):
|
|
17447
18203
|
:rtype: :class:`~oci.response.Response`
|
17448
18204
|
|
17449
18205
|
:example:
|
17450
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
18206
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/update_catalog_private_endpoint.py.html>`__ to see an example of how to use update_catalog_private_endpoint API.
|
17451
18207
|
"""
|
17452
18208
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
17453
18209
|
required_arguments = ['catalogPrivateEndpointId']
|
@@ -17461,7 +18217,8 @@ class DataCatalogClient(object):
|
|
17461
18217
|
"allow_control_chars",
|
17462
18218
|
"retry_strategy",
|
17463
18219
|
"if_match",
|
17464
|
-
"opc_request_id"
|
18220
|
+
"opc_request_id",
|
18221
|
+
"is_lock_override"
|
17465
18222
|
]
|
17466
18223
|
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
17467
18224
|
if extra_kwargs:
|
@@ -17478,6 +18235,11 @@ class DataCatalogClient(object):
|
|
17478
18235
|
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
17479
18236
|
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
17480
18237
|
|
18238
|
+
query_params = {
|
18239
|
+
"isLockOverride": kwargs.get("is_lock_override", missing)
|
18240
|
+
}
|
18241
|
+
query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
|
18242
|
+
|
17481
18243
|
header_params = {
|
17482
18244
|
"accept": "application/json",
|
17483
18245
|
"content-type": "application/json",
|
@@ -17500,6 +18262,7 @@ class DataCatalogClient(object):
|
|
17500
18262
|
resource_path=resource_path,
|
17501
18263
|
method=method,
|
17502
18264
|
path_params=path_params,
|
18265
|
+
query_params=query_params,
|
17503
18266
|
header_params=header_params,
|
17504
18267
|
body=update_catalog_private_endpoint_details,
|
17505
18268
|
allow_control_chars=kwargs.get('allow_control_chars'),
|
@@ -17511,6 +18274,7 @@ class DataCatalogClient(object):
|
|
17511
18274
|
resource_path=resource_path,
|
17512
18275
|
method=method,
|
17513
18276
|
path_params=path_params,
|
18277
|
+
query_params=query_params,
|
17514
18278
|
header_params=header_params,
|
17515
18279
|
body=update_catalog_private_endpoint_details,
|
17516
18280
|
allow_control_chars=kwargs.get('allow_control_chars'),
|
@@ -17561,7 +18325,7 @@ class DataCatalogClient(object):
|
|
17561
18325
|
:rtype: :class:`~oci.response.Response`
|
17562
18326
|
|
17563
18327
|
:example:
|
17564
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
18328
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/update_connection.py.html>`__ to see an example of how to use update_connection API.
|
17565
18329
|
"""
|
17566
18330
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
17567
18331
|
required_arguments = ['catalogId', 'dataAssetKey', 'connectionKey']
|
@@ -17679,7 +18443,7 @@ class DataCatalogClient(object):
|
|
17679
18443
|
:rtype: :class:`~oci.response.Response`
|
17680
18444
|
|
17681
18445
|
:example:
|
17682
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
18446
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/update_custom_property.py.html>`__ to see an example of how to use update_custom_property API.
|
17683
18447
|
"""
|
17684
18448
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
17685
18449
|
required_arguments = ['catalogId', 'namespaceId', 'customPropertyKey']
|
@@ -17794,7 +18558,7 @@ class DataCatalogClient(object):
|
|
17794
18558
|
:rtype: :class:`~oci.response.Response`
|
17795
18559
|
|
17796
18560
|
:example:
|
17797
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
18561
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/update_data_asset.py.html>`__ to see an example of how to use update_data_asset API.
|
17798
18562
|
"""
|
17799
18563
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
17800
18564
|
required_arguments = ['catalogId', 'dataAssetKey']
|
@@ -17911,7 +18675,7 @@ class DataCatalogClient(object):
|
|
17911
18675
|
:rtype: :class:`~oci.response.Response`
|
17912
18676
|
|
17913
18677
|
:example:
|
17914
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
18678
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/update_entity.py.html>`__ to see an example of how to use update_entity API.
|
17915
18679
|
"""
|
17916
18680
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
17917
18681
|
required_arguments = ['catalogId', 'dataAssetKey', 'entityKey']
|
@@ -18029,7 +18793,7 @@ class DataCatalogClient(object):
|
|
18029
18793
|
:rtype: :class:`~oci.response.Response`
|
18030
18794
|
|
18031
18795
|
:example:
|
18032
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
18796
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/update_folder.py.html>`__ to see an example of how to use update_folder API.
|
18033
18797
|
"""
|
18034
18798
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
18035
18799
|
required_arguments = ['catalogId', 'dataAssetKey', 'folderKey']
|
@@ -18144,7 +18908,7 @@ class DataCatalogClient(object):
|
|
18144
18908
|
:rtype: :class:`~oci.response.Response`
|
18145
18909
|
|
18146
18910
|
:example:
|
18147
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
18911
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/update_glossary.py.html>`__ to see an example of how to use update_glossary API.
|
18148
18912
|
"""
|
18149
18913
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
18150
18914
|
required_arguments = ['catalogId', 'glossaryKey']
|
@@ -18258,7 +19022,7 @@ class DataCatalogClient(object):
|
|
18258
19022
|
:rtype: :class:`~oci.response.Response`
|
18259
19023
|
|
18260
19024
|
:example:
|
18261
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
19025
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/update_job.py.html>`__ to see an example of how to use update_job API.
|
18262
19026
|
"""
|
18263
19027
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
18264
19028
|
required_arguments = ['catalogId', 'jobKey']
|
@@ -18372,7 +19136,7 @@ class DataCatalogClient(object):
|
|
18372
19136
|
:rtype: :class:`~oci.response.Response`
|
18373
19137
|
|
18374
19138
|
:example:
|
18375
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
19139
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/update_job_definition.py.html>`__ to see an example of how to use update_job_definition API.
|
18376
19140
|
"""
|
18377
19141
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
18378
19142
|
required_arguments = ['catalogId', 'jobDefinitionKey']
|
@@ -18467,6 +19231,9 @@ class DataCatalogClient(object):
|
|
18467
19231
|
:param str opc_request_id: (optional)
|
18468
19232
|
The client request ID for tracing.
|
18469
19233
|
|
19234
|
+
:param bool is_lock_override: (optional)
|
19235
|
+
Whether to override locks (if any exist).
|
19236
|
+
|
18470
19237
|
:param obj retry_strategy: (optional)
|
18471
19238
|
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
18472
19239
|
|
@@ -18483,7 +19250,7 @@ class DataCatalogClient(object):
|
|
18483
19250
|
:rtype: :class:`~oci.response.Response`
|
18484
19251
|
|
18485
19252
|
:example:
|
18486
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
19253
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/update_metastore.py.html>`__ to see an example of how to use update_metastore API.
|
18487
19254
|
"""
|
18488
19255
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
18489
19256
|
required_arguments = ['metastoreId']
|
@@ -18497,7 +19264,8 @@ class DataCatalogClient(object):
|
|
18497
19264
|
"allow_control_chars",
|
18498
19265
|
"retry_strategy",
|
18499
19266
|
"if_match",
|
18500
|
-
"opc_request_id"
|
19267
|
+
"opc_request_id",
|
19268
|
+
"is_lock_override"
|
18501
19269
|
]
|
18502
19270
|
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
18503
19271
|
if extra_kwargs:
|
@@ -18514,6 +19282,11 @@ class DataCatalogClient(object):
|
|
18514
19282
|
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
18515
19283
|
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
18516
19284
|
|
19285
|
+
query_params = {
|
19286
|
+
"isLockOverride": kwargs.get("is_lock_override", missing)
|
19287
|
+
}
|
19288
|
+
query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
|
19289
|
+
|
18517
19290
|
header_params = {
|
18518
19291
|
"accept": "application/json",
|
18519
19292
|
"content-type": "application/json",
|
@@ -18536,6 +19309,7 @@ class DataCatalogClient(object):
|
|
18536
19309
|
resource_path=resource_path,
|
18537
19310
|
method=method,
|
18538
19311
|
path_params=path_params,
|
19312
|
+
query_params=query_params,
|
18539
19313
|
header_params=header_params,
|
18540
19314
|
body=update_metastore_details,
|
18541
19315
|
response_type="Metastore",
|
@@ -18548,6 +19322,7 @@ class DataCatalogClient(object):
|
|
18548
19322
|
resource_path=resource_path,
|
18549
19323
|
method=method,
|
18550
19324
|
path_params=path_params,
|
19325
|
+
query_params=query_params,
|
18551
19326
|
header_params=header_params,
|
18552
19327
|
body=update_metastore_details,
|
18553
19328
|
response_type="Metastore",
|
@@ -18596,7 +19371,7 @@ class DataCatalogClient(object):
|
|
18596
19371
|
:rtype: :class:`~oci.response.Response`
|
18597
19372
|
|
18598
19373
|
:example:
|
18599
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
19374
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/update_namespace.py.html>`__ to see an example of how to use update_namespace API.
|
18600
19375
|
"""
|
18601
19376
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
18602
19377
|
required_arguments = ['catalogId', 'namespaceId']
|
@@ -18710,7 +19485,7 @@ class DataCatalogClient(object):
|
|
18710
19485
|
:rtype: :class:`~oci.response.Response`
|
18711
19486
|
|
18712
19487
|
:example:
|
18713
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
19488
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/update_pattern.py.html>`__ to see an example of how to use update_pattern API.
|
18714
19489
|
"""
|
18715
19490
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
18716
19491
|
required_arguments = ['catalogId', 'patternKey']
|
@@ -18827,7 +19602,7 @@ class DataCatalogClient(object):
|
|
18827
19602
|
:rtype: :class:`~oci.response.Response`
|
18828
19603
|
|
18829
19604
|
:example:
|
18830
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
19605
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/update_term.py.html>`__ to see an example of how to use update_term API.
|
18831
19606
|
"""
|
18832
19607
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
18833
19608
|
required_arguments = ['catalogId', 'glossaryKey', 'termKey']
|
@@ -18948,7 +19723,7 @@ class DataCatalogClient(object):
|
|
18948
19723
|
:rtype: :class:`~oci.response.Response`
|
18949
19724
|
|
18950
19725
|
:example:
|
18951
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
19726
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/update_term_relationship.py.html>`__ to see an example of how to use update_term_relationship API.
|
18952
19727
|
"""
|
18953
19728
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
18954
19729
|
required_arguments = ['catalogId', 'glossaryKey', 'termKey', 'termRelationshipKey']
|
@@ -19074,7 +19849,7 @@ class DataCatalogClient(object):
|
|
19074
19849
|
:rtype: :class:`~oci.response.Response`
|
19075
19850
|
|
19076
19851
|
:example:
|
19077
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
19852
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/upload_credentials.py.html>`__ to see an example of how to use upload_credentials API.
|
19078
19853
|
"""
|
19079
19854
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
19080
19855
|
required_arguments = ['catalogId', 'dataAssetKey', 'connectionKey']
|
@@ -19195,7 +19970,7 @@ class DataCatalogClient(object):
|
|
19195
19970
|
:rtype: :class:`~oci.response.Response`
|
19196
19971
|
|
19197
19972
|
:example:
|
19198
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
19973
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/users.py.html>`__ to see an example of how to use users API.
|
19199
19974
|
"""
|
19200
19975
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
19201
19976
|
required_arguments = ['catalogId']
|
@@ -19334,7 +20109,7 @@ class DataCatalogClient(object):
|
|
19334
20109
|
:rtype: :class:`~oci.response.Response`
|
19335
20110
|
|
19336
20111
|
:example:
|
19337
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
20112
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/validate_connection.py.html>`__ to see an example of how to use validate_connection API.
|
19338
20113
|
"""
|
19339
20114
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
19340
20115
|
required_arguments = ['catalogId', 'dataAssetKey']
|
@@ -19451,7 +20226,7 @@ class DataCatalogClient(object):
|
|
19451
20226
|
:rtype: :class:`~oci.response.Response`
|
19452
20227
|
|
19453
20228
|
:example:
|
19454
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
20229
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.118.0/datacatalog/validate_pattern.py.html>`__ to see an example of how to use validate_pattern API.
|
19455
20230
|
"""
|
19456
20231
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
19457
20232
|
required_arguments = ['catalogId', 'patternKey']
|