oci 2.139.0__py3-none-any.whl → 2.141.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 +26 -26
- oci/ai_language/ai_service_language_client.py +44 -44
- oci/ai_language/models/__init__.py +6 -0
- oci/ai_language/models/batch_detect_dominant_language_details.py +31 -0
- oci/ai_language/models/batch_detect_health_entity_details.py +31 -0
- oci/ai_language/models/batch_detect_language_entities_details.py +31 -0
- oci/ai_language/models/batch_detect_language_key_phrases_details.py +31 -0
- oci/ai_language/models/batch_detect_language_pii_entities_details.py +31 -0
- oci/ai_language/models/batch_detect_language_sentiments_details.py +31 -0
- oci/ai_language/models/batch_detect_language_text_classification_details.py +31 -0
- oci/ai_language/models/batch_language_translation_details.py +93 -0
- oci/ai_language/models/create_endpoint_details.py +78 -0
- oci/ai_language/models/endpoint.py +78 -0
- oci/ai_language/models/endpoint_summary.py +78 -0
- oci/ai_language/models/health_nlu_model_details.py +91 -0
- oci/ai_language/models/hierarchical_entity.py +27 -0
- oci/ai_language/models/meta_info.py +196 -0
- oci/ai_language/models/model_details.py +35 -23
- oci/ai_language/models/named_entity_recognition_model_details.py +1 -1
- oci/ai_language/models/pii_entity_mask.py +14 -0
- oci/ai_language/models/pii_entity_masking.py +64 -2
- oci/ai_language/models/pii_entity_remove.py +16 -2
- oci/ai_language/models/pii_entity_replace.py +14 -0
- oci/ai_language/models/pii_model_details.py +1 -1
- oci/ai_language/models/pre_trained_health_nlu_model_details.py +1 -1
- oci/ai_language/models/pre_trained_key_phrase_extraction_model_details.py +1 -1
- oci/ai_language/models/pre_trained_language_detection_model_details.py +1 -1
- oci/ai_language/models/pre_trained_named_entity_recognition_model_details.py +1 -1
- oci/ai_language/models/pre_trained_pii_model_details.py +1 -1
- oci/ai_language/models/pre_trained_sentiment_analysis_model_details.py +1 -1
- oci/ai_language/models/pre_trained_summarization.py +1 -1
- oci/ai_language/models/pre_trained_text_classification_model_details.py +1 -1
- oci/ai_language/models/pre_trained_translation_model_details.py +91 -0
- oci/ai_language/models/pre_trained_universal_model.py +1 -1
- oci/ai_language/models/text_classification_model_details.py +1 -1
- oci/ai_language/models/update_endpoint_details.py +31 -0
- oci/ai_speech/ai_service_speech_client.py +19 -19
- oci/ai_vision/ai_service_vision_client.py +320 -25
- oci/ai_vision/ai_service_vision_client_composite_operations.py +42 -0
- oci/ai_vision/models/__init__.py +54 -0
- oci/ai_vision/models/analyze_video_result.py +440 -0
- oci/ai_vision/models/create_video_job_details.py +254 -0
- oci/ai_vision/models/object_property.py +130 -0
- oci/ai_vision/models/video_face.py +72 -0
- oci/ai_vision/models/video_face_detection_feature.py +146 -0
- oci/ai_vision/models/video_face_frame.py +192 -0
- oci/ai_vision/models/video_face_segment.py +130 -0
- oci/ai_vision/models/video_feature.py +145 -0
- oci/ai_vision/models/video_job.py +552 -0
- oci/ai_vision/models/video_label.py +103 -0
- oci/ai_vision/models/video_label_detection_feature.py +146 -0
- oci/ai_vision/models/video_label_segment.py +99 -0
- oci/ai_vision/models/video_metadata.py +165 -0
- oci/ai_vision/models/video_object.py +103 -0
- oci/ai_vision/models/video_object_detection_feature.py +146 -0
- oci/ai_vision/models/video_object_frame.py +130 -0
- oci/ai_vision/models/video_object_segment.py +130 -0
- oci/ai_vision/models/video_object_tracking_feature.py +146 -0
- oci/ai_vision/models/video_segment.py +103 -0
- oci/ai_vision/models/video_text.py +103 -0
- oci/ai_vision/models/video_text_detection_feature.py +84 -0
- oci/ai_vision/models/video_text_frame.py +130 -0
- oci/ai_vision/models/video_text_segment.py +130 -0
- oci/ai_vision/models/video_tracked_object.py +161 -0
- oci/ai_vision/models/video_tracked_object_properties.py +72 -0
- oci/ai_vision/models/video_tracked_object_segment.py +130 -0
- oci/ai_vision/models/video_tracking_frame.py +161 -0
- oci/analytics/analytics_client.py +24 -24
- oci/announcements_service/announcement_client.py +5 -5
- oci/announcements_service/announcement_subscription_client.py +9 -9
- oci/announcements_service/announcements_preferences_client.py +4 -4
- oci/announcements_service/service_client.py +1 -1
- 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 +9 -9
- oci/apm_control_plane/apm_domain_client.py +14 -14
- oci/apm_synthetics/apm_synthetic_client.py +28 -28
- oci/apm_traces/attributes_client.py +8 -8
- oci/apm_traces/query_client.py +2 -2
- oci/apm_traces/trace_client.py +4 -4
- oci/appmgmt_control/appmgmt_control_client.py +8 -8
- oci/artifacts/artifacts_client.py +32 -32
- oci/audit/audit_client.py +3 -3
- oci/auth/certificate_retriever.py +2 -5
- oci/auth/signers/instance_principals_security_token_signer.py +32 -29
- oci/auth/signers/oke_workload_identity_resource_principal_signer.py +12 -5
- oci/autoscaling/auto_scaling_client.py +11 -11
- oci/bastion/bastion_client.py +15 -15
- oci/bds/bds_client.py +2516 -1014
- oci/bds/bds_client_composite_operations.py +407 -0
- oci/bds/models/__init__.py +34 -0
- oci/bds/models/activate_iam_user_sync_configuration_details.py +103 -0
- oci/bds/models/activate_upst_configuration_details.py +134 -0
- oci/bds/models/batching_based_odh_patching_config.py +33 -2
- oci/bds/models/bds_api_key.py +33 -2
- oci/bds/models/bds_cluster_version_summary.py +103 -0
- oci/bds/models/bds_instance.py +29 -2
- oci/bds/models/create_bds_api_key_details.py +33 -2
- oci/bds/models/create_bds_instance_details.py +29 -2
- oci/bds/models/create_identity_configuration_details.py +219 -0
- oci/bds/models/deactivate_iam_user_sync_configuration_details.py +72 -0
- oci/bds/models/deactivate_upst_configuration_details.py +72 -0
- oci/bds/models/domain_based_odh_patching_config.py +33 -2
- oci/bds/models/iam_user_sync_configuration.py +197 -0
- oci/bds/models/iam_user_sync_configuration_details.py +72 -0
- oci/bds/models/identity_configuration.py +328 -0
- oci/bds/models/identity_configuration_summary.py +134 -0
- oci/bds/models/node_type_shape_config.py +105 -0
- oci/bds/models/refresh_confidential_application_details.py +72 -0
- oci/bds/models/refresh_upst_token_exchange_keytab_details.py +72 -0
- oci/bds/models/start_bds_instance_details.py +29 -2
- oci/bds/models/start_cluster_shape_configs.py +72 -0
- oci/bds/models/update_bds_instance_details.py +29 -2
- oci/bds/models/update_identity_configuration_details.py +126 -0
- oci/bds/models/upst_configuration.py +352 -0
- oci/bds/models/upst_configuration_details.py +103 -0
- oci/bds/models/work_request.py +39 -3
- oci/blockchain/blockchain_platform_client.py +27 -27
- oci/blockchain/models/blockchain_platform.py +17 -5
- oci/blockchain/models/work_request.py +7 -3
- oci/blockchain/models/work_request_summary.py +7 -3
- oci/budget/budget_client.py +10 -10
- oci/capacity_management/capacity_management_client.py +32 -32
- oci/certificates/certificates_client.py +5 -5
- oci/certificates_management/certificates_management_client.py +32 -32
- oci/cims/incident_client.py +6 -6
- oci/cloud_bridge/common_client.py +5 -5
- oci/cloud_bridge/discovery_client.py +15 -15
- oci/cloud_bridge/inventory_client.py +16 -16
- oci/cloud_bridge/models/__init__.py +6 -0
- oci/cloud_bridge/models/asset_source_credentials.py +2 -2
- oci/cloud_bridge/models/aws_ebs_asset_details.py +68 -0
- oci/cloud_bridge/models/aws_ec2_asset_details.py +176 -0
- oci/cloud_bridge/models/disk.py +33 -2
- oci/cloud_bridge/models/monthly_cost_summary.py +2 -2
- oci/cloud_bridge/models/update_plugin_details.py +72 -0
- oci/cloud_bridge/models/work_request.py +7 -3
- oci/cloud_bridge/models/work_request_summary.py +7 -3
- oci/cloud_bridge/ocb_agent_svc_client.py +136 -22
- oci/cloud_bridge/ocb_agent_svc_client_composite_operations.py +45 -0
- oci/cloud_guard/cloud_guard_client.py +155 -155
- oci/cloud_migrations/migration_client.py +43 -43
- oci/cluster_placement_groups/cluster_placement_groups_cp_client.py +13 -13
- 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 +102 -102
- oci/core/compute_management_client.py +32 -32
- oci/core/models/__init__.py +10 -0
- oci/core/models/instance.py +33 -2
- oci/core/models/instance_configuration_launch_instance_details.py +33 -2
- oci/core/models/launch_instance_details.py +33 -2
- oci/core/models/launch_instance_licensing_config.py +152 -0
- oci/core/models/launch_instance_windows_licensing_config.py +59 -0
- oci/core/models/licensing_config.py +166 -0
- oci/core/models/update_instance_details.py +33 -2
- oci/core/models/update_instance_licensing_config.py +152 -0
- oci/core/models/update_instance_windows_licensing_config.py +59 -0
- oci/core/virtual_network_client.py +247 -247
- oci/dashboard_service/dashboard_client.py +6 -6
- oci/dashboard_service/dashboard_group_client.py +6 -6
- oci/data_catalog/data_catalog_client.py +149 -149
- oci/data_flow/data_flow_client.py +146 -44
- oci/data_flow/data_flow_client_composite_operations.py +39 -0
- oci/data_flow/models/application.py +7 -3
- oci/data_flow/models/application_summary.py +7 -3
- oci/data_integration/data_integration_client.py +163 -163
- 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 +292 -292
- oci/data_science/data_science_client.py +94 -94
- oci/data_science/models/create_data_science_private_endpoint_details.py +7 -3
- oci/data_science/models/create_job_run_details.py +4 -4
- oci/data_science/models/data_science_private_endpoint.py +7 -3
- oci/data_science/models/data_science_private_endpoint_summary.py +7 -3
- oci/data_science/models/instance_configuration.py +33 -2
- oci/data_science/models/job_run.py +6 -6
- oci/data_science/models/job_run_summary.py +9 -9
- oci/data_science/models/job_summary.py +1 -1
- oci/data_science/models/metadata.py +4 -4
- oci/database/database_client.py +411 -399
- oci/database/models/__init__.py +4 -0
- oci/database/models/autonomous_database.py +31 -0
- oci/database/models/autonomous_database_summary.py +31 -0
- oci/database/models/create_autonomous_database_base.py +31 -0
- oci/database/models/create_autonomous_database_clone_details.py +7 -0
- oci/database/models/create_autonomous_database_details.py +7 -0
- oci/database/models/create_autonomous_database_from_backup_details.py +7 -0
- oci/database/models/create_autonomous_database_from_backup_timestamp_details.py +7 -0
- oci/database/models/create_cross_region_autonomous_database_data_guard_details.py +7 -0
- oci/database/models/create_cross_region_disaster_recovery_details.py +7 -0
- oci/database/models/create_cross_tenancy_disaster_recovery_details.py +7 -0
- oci/database/models/create_refreshable_autonomous_database_clone_details.py +7 -0
- oci/database/models/rotate_autonomous_container_database_encryption_key_details.py +76 -0
- oci/database/models/rotate_autonomous_database_encryption_key_details.py +76 -0
- oci/database/models/undelete_autonomous_database_details.py +7 -0
- oci/database/models/update_autonomous_database_details.py +31 -0
- oci/database_management/db_management_client.py +211 -211
- oci/database_management/diagnosability_client.py +4 -4
- oci/database_management/managed_my_sql_databases_client.py +7 -7
- oci/database_management/perfhub_client.py +1 -1
- oci/database_management/sql_tuning_client.py +17 -17
- oci/database_migration/database_migration_client.py +42 -42
- oci/database_tools/database_tools_client.py +23 -23
- oci/delegate_access_control/delegate_access_control_client.py +26 -26
- oci/delegate_access_control/work_request_client.py +4 -4
- oci/demand_signal/occ_demand_signal_client.py +7 -7
- oci/desktops/desktop_service_client.py +21 -21
- oci/devops/devops_client.py +141 -141
- oci/disaster_recovery/disaster_recovery_client.py +289 -31
- oci/disaster_recovery/disaster_recovery_client_composite_operations.py +88 -0
- oci/disaster_recovery/models/__init__.py +8 -0
- oci/disaster_recovery/models/create_dr_plan_details.py +35 -0
- oci/disaster_recovery/models/dr_plan.py +92 -0
- oci/disaster_recovery/models/dr_plan_group.py +55 -0
- oci/disaster_recovery/models/dr_plan_step.py +51 -0
- oci/disaster_recovery/models/dr_plan_summary.py +59 -0
- oci/disaster_recovery/models/refresh_dr_plan_default_details.py +51 -0
- oci/disaster_recovery/models/refresh_dr_plan_details.py +101 -0
- oci/disaster_recovery/models/verify_dr_plan_default_details.py +51 -0
- oci/disaster_recovery/models/verify_dr_plan_details.py +101 -0
- oci/disaster_recovery/models/work_request.py +11 -3
- oci/disaster_recovery/models/work_request_summary.py +11 -3
- oci/dns/dns_client.py +54 -54
- 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_warehouse_client.py +13 -13
- oci/email/email_client.py +31 -31
- oci/email_data_plane/email_dp_client.py +1 -1
- oci/events/events_client.py +6 -6
- oci/file_storage/file_storage_client.py +68 -68
- oci/fleet_apps_management/fleet_apps_management_admin_client.py +25 -25
- oci/fleet_apps_management/fleet_apps_management_client.py +35 -35
- oci/fleet_apps_management/fleet_apps_management_maintenance_window_client.py +5 -5
- oci/fleet_apps_management/fleet_apps_management_operations_client.py +26 -26
- oci/fleet_apps_management/fleet_apps_management_runbooks_client.py +12 -12
- oci/fleet_software_update/fleet_software_update_client.py +48 -48
- oci/fleet_software_update/models/__init__.py +12 -0
- oci/fleet_software_update/models/apply_action.py +1 -1
- oci/fleet_software_update/models/apply_action_summary.py +1 -1
- oci/fleet_software_update/models/apply_fsu_job.py +1 -1
- oci/fleet_software_update/models/apply_fsu_job_summary.py +1 -1
- oci/fleet_software_update/models/cleanup_action.py +1 -1
- oci/fleet_software_update/models/cleanup_action_summary.py +1 -1
- oci/fleet_software_update/models/cleanup_fsu_job.py +1 -1
- oci/fleet_software_update/models/cleanup_fsu_job_summary.py +1 -1
- oci/fleet_software_update/models/create_apply_action_details.py +1 -1
- oci/fleet_software_update/models/create_cleanup_action_details.py +1 -1
- oci/fleet_software_update/models/create_fsu_action_details.py +11 -3
- oci/fleet_software_update/models/create_precheck_action_details.py +1 -1
- oci/fleet_software_update/models/create_rollback_action_details.py +1 -1
- oci/fleet_software_update/models/create_rollback_cycle_apply_action_details.py +111 -0
- oci/fleet_software_update/models/create_stage_action_details.py +1 -1
- oci/fleet_software_update/models/db_collection.py +7 -0
- oci/fleet_software_update/models/db_fsu_collection_summary.py +7 -0
- oci/fleet_software_update/models/fsu_action.py +11 -3
- oci/fleet_software_update/models/fsu_action_summary.py +11 -3
- oci/fleet_software_update/models/fsu_collection.py +35 -0
- oci/fleet_software_update/models/fsu_collection_summary.py +35 -0
- oci/fleet_software_update/models/fsu_cycle.py +105 -3
- oci/fleet_software_update/models/fsu_cycle_summary.py +101 -3
- oci/fleet_software_update/models/fsu_job.py +11 -3
- oci/fleet_software_update/models/fsu_job_summary.py +11 -3
- oci/fleet_software_update/models/gi_collection.py +7 -0
- oci/fleet_software_update/models/gi_fsu_collection_summary.py +7 -0
- oci/fleet_software_update/models/next_action_to_execute_details.py +7 -3
- oci/fleet_software_update/models/patch_fsu_cycle.py +16 -1
- oci/fleet_software_update/models/precheck_action.py +1 -1
- oci/fleet_software_update/models/precheck_action_summary.py +1 -1
- oci/fleet_software_update/models/precheck_fsu_job.py +1 -1
- oci/fleet_software_update/models/precheck_fsu_job_summary.py +1 -1
- oci/fleet_software_update/models/rollback_action.py +1 -1
- oci/fleet_software_update/models/rollback_action_summary.py +1 -1
- oci/fleet_software_update/models/rollback_cycle_action.py +226 -0
- oci/fleet_software_update/models/rollback_cycle_action_summary.py +225 -0
- oci/fleet_software_update/models/rollback_cycle_fsu_job.py +278 -0
- oci/fleet_software_update/models/rollback_cycle_fsu_job_summary.py +251 -0
- oci/fleet_software_update/models/rollback_fsu_job.py +1 -1
- oci/fleet_software_update/models/rollback_fsu_job_summary.py +1 -1
- oci/fleet_software_update/models/stage_action.py +1 -1
- oci/fleet_software_update/models/stage_action_summary.py +1 -1
- oci/fleet_software_update/models/stage_fsu_job.py +1 -1
- oci/fleet_software_update/models/stage_fsu_job_summary.py +1 -1
- oci/fleet_software_update/models/update_apply_action_details.py +1 -1
- oci/fleet_software_update/models/update_cleanup_action_details.py +1 -1
- oci/fleet_software_update/models/update_fsu_action_details.py +11 -3
- oci/fleet_software_update/models/update_precheck_action_details.py +1 -1
- oci/fleet_software_update/models/update_rollback_action_details.py +1 -1
- oci/fleet_software_update/models/update_rollback_cycle_action_details.py +72 -0
- oci/fleet_software_update/models/update_stage_action_details.py +1 -1
- oci/fleet_software_update/models/work_request.py +7 -3
- oci/fleet_software_update/models/work_request_summary.py +7 -3
- oci/functions/functions_invoke_client.py +1 -1
- oci/functions/functions_management_client.py +16 -16
- oci/fusion_apps/fusion_applications_client.py +41 -41
- oci/generative_ai/generative_ai_client.py +22 -22
- oci/generative_ai_agent/generative_ai_agent_client.py +33 -102
- oci/generative_ai_agent/models/__init__.py +2 -0
- oci/generative_ai_agent/models/agent.py +0 -2
- oci/generative_ai_agent/models/agent_collection.py +0 -2
- oci/generative_ai_agent/models/agent_endpoint.py +0 -2
- oci/generative_ai_agent/models/agent_endpoint_collection.py +0 -2
- oci/generative_ai_agent/models/agent_endpoint_summary.py +0 -2
- oci/generative_ai_agent/models/agent_summary.py +0 -2
- oci/generative_ai_agent/models/basic_auth_secret.py +0 -2
- oci/generative_ai_agent/models/change_agent_compartment_details.py +0 -2
- oci/generative_ai_agent/models/change_agent_endpoint_compartment_details.py +0 -2
- oci/generative_ai_agent/models/change_knowledge_base_compartment_details.py +0 -2
- oci/generative_ai_agent/models/create_agent_details.py +0 -2
- oci/generative_ai_agent/models/create_agent_endpoint_details.py +0 -2
- oci/generative_ai_agent/models/create_data_ingestion_job_details.py +0 -2
- oci/generative_ai_agent/models/create_data_source_details.py +0 -2
- oci/generative_ai_agent/models/create_knowledge_base_details.py +0 -2
- oci/generative_ai_agent/models/data_ingestion_job.py +35 -2
- oci/generative_ai_agent/models/data_ingestion_job_collection.py +0 -2
- oci/generative_ai_agent/models/data_ingestion_job_statistics.py +0 -2
- oci/generative_ai_agent/models/data_ingestion_job_summary.py +0 -2
- oci/generative_ai_agent/models/data_source.py +0 -2
- oci/generative_ai_agent/models/data_source_collection.py +0 -2
- oci/generative_ai_agent/models/data_source_config.py +31 -2
- oci/generative_ai_agent/models/data_source_summary.py +0 -2
- oci/generative_ai_agent/models/database_connection.py +0 -2
- oci/generative_ai_agent/models/database_function.py +0 -2
- oci/generative_ai_agent/models/database_tool_connection.py +0 -2
- oci/generative_ai_agent/models/default_index_config.py +0 -2
- oci/generative_ai_agent/models/idcs_secret.py +0 -2
- oci/generative_ai_agent/models/index.py +0 -2
- oci/generative_ai_agent/models/index_config.py +0 -2
- oci/generative_ai_agent/models/index_schema.py +0 -2
- oci/generative_ai_agent/models/knowledge_base.py +27 -2
- oci/generative_ai_agent/models/knowledge_base_collection.py +0 -2
- oci/generative_ai_agent/models/knowledge_base_statistics.py +72 -0
- oci/generative_ai_agent/models/knowledge_base_summary.py +0 -2
- oci/generative_ai_agent/models/object_storage_prefix.py +0 -2
- oci/generative_ai_agent/models/oci_database_config.py +0 -2
- oci/generative_ai_agent/models/oci_object_storage_data_source_config.py +8 -3
- oci/generative_ai_agent/models/oci_open_search_index_config.py +0 -2
- oci/generative_ai_agent/models/secret_detail.py +0 -2
- oci/generative_ai_agent/models/session_config.py +0 -2
- oci/generative_ai_agent/models/update_agent_details.py +0 -2
- oci/generative_ai_agent/models/update_agent_endpoint_details.py +0 -2
- oci/generative_ai_agent/models/update_data_source_details.py +0 -2
- oci/generative_ai_agent/models/update_knowledge_base_details.py +0 -2
- oci/generative_ai_agent/models/work_request.py +15 -5
- oci/generative_ai_agent/models/work_request_error.py +0 -2
- oci/generative_ai_agent/models/work_request_error_collection.py +0 -2
- oci/generative_ai_agent/models/work_request_log_entry.py +0 -2
- oci/generative_ai_agent/models/work_request_log_entry_collection.py +0 -2
- oci/generative_ai_agent/models/work_request_resource.py +0 -2
- oci/generative_ai_agent/models/work_request_summary.py +15 -5
- oci/generative_ai_agent/models/work_request_summary_collection.py +0 -2
- oci/generative_ai_agent_runtime/generative_ai_agent_runtime_client.py +6 -6
- oci/generative_ai_agent_runtime/models/chat_details.py +1 -1
- oci/generative_ai_agent_runtime/models/citation.py +95 -2
- oci/generative_ai_inference/generative_ai_inference_client.py +4 -4
- oci/generic_artifacts_content/generic_artifacts_content_client.py +3 -3
- oci/globally_distributed_database/sharded_database_service_client.py +30 -30
- oci/golden_gate/golden_gate_client.py +2343 -499
- oci/golden_gate/golden_gate_client_composite_operations.py +264 -0
- oci/golden_gate/models/__init__.py +71 -1
- oci/golden_gate/models/change_pipeline_compartment_details.py +76 -0
- oci/golden_gate/models/create_mysql_connection_details.py +2 -2
- oci/golden_gate/models/create_pipeline_details.py +402 -0
- oci/golden_gate/models/create_zero_etl_pipeline_details.py +142 -0
- oci/golden_gate/models/default_start_pipeline_details.py +51 -0
- oci/golden_gate/models/default_stop_pipeline_details.py +51 -0
- oci/golden_gate/models/default_test_pipeline_connection_details.py +88 -0
- oci/golden_gate/models/initial_data_load.py +143 -0
- oci/golden_gate/models/mapping_rule.py +152 -0
- oci/golden_gate/models/pipeline.py +775 -0
- oci/golden_gate/models/pipeline_collection.py +72 -0
- oci/golden_gate/models/pipeline_initialization_step.py +263 -0
- oci/golden_gate/models/pipeline_initialization_steps.py +72 -0
- oci/golden_gate/models/pipeline_running_process_collection.py +72 -0
- oci/golden_gate/models/pipeline_running_process_summary.py +238 -0
- oci/golden_gate/models/pipeline_schema_collection.py +72 -0
- oci/golden_gate/models/pipeline_schema_summary.py +105 -0
- oci/golden_gate/models/pipeline_schema_table_collection.py +134 -0
- oci/golden_gate/models/pipeline_schema_table_summary.py +105 -0
- oci/golden_gate/models/pipeline_summary.py +739 -0
- oci/golden_gate/models/process_options.py +142 -0
- oci/golden_gate/models/recipe_summary.py +239 -0
- oci/golden_gate/models/recipe_summary_collection.py +72 -0
- oci/golden_gate/models/replicate_schema_change.py +190 -0
- oci/golden_gate/models/source_pipeline_connection_details.py +78 -0
- oci/golden_gate/models/start_pipeline_details.py +101 -0
- oci/golden_gate/models/step_message.py +197 -0
- oci/golden_gate/models/stop_pipeline_details.py +101 -0
- oci/golden_gate/models/target_pipeline_connection_details.py +78 -0
- oci/golden_gate/models/test_pipeline_connection_details.py +101 -0
- oci/golden_gate/models/test_pipeline_connection_error.py +165 -0
- oci/golden_gate/models/test_pipeline_connection_result.py +119 -0
- oci/golden_gate/models/update_mysql_connection_details.py +2 -2
- oci/golden_gate/models/update_pipeline_details.py +282 -0
- oci/golden_gate/models/update_zero_etl_pipeline_details.py +145 -0
- oci/golden_gate/models/work_request.py +27 -3
- oci/golden_gate/models/zero_etl_pipeline.py +275 -0
- oci/golden_gate/models/zero_etl_pipeline_summary.py +243 -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 +311 -311
- oci/integration/integration_instance_client.py +19 -19
- oci/jms/java_management_service_client.py +75 -75
- 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_hsm_cluster_client.py +12 -12
- 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 +24 -24
- 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 +28 -28
- 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_private_offer/attachment_client.py +5 -5
- oci/marketplace_private_offer/offer_client.py +6 -6
- oci/marketplace_publisher/attachment_client.py +5 -5
- oci/marketplace_publisher/marketplace_publisher_client.py +71 -71
- oci/marketplace_publisher/offer_client.py +6 -6
- oci/media_services/media_services_client.py +60 -60
- oci/media_services/media_stream_client.py +2 -2
- oci/monitoring/monitoring_client.py +18 -18
- oci/mysql/channels_client.py +7 -7
- oci/mysql/db_backups_client.py +7 -7
- 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 +86 -86
- 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 +55 -55
- oci/object_storage/transfer/internal/multipart_object_assembler.py +15 -0
- 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 +59 -59
- 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 +13 -13
- 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 +10 -10
- oci/operator_access_control/operator_actions_client.py +2 -2
- oci/operator_access_control/operator_control_assignment_client.py +8 -8
- oci/operator_access_control/operator_control_client.py +6 -6
- oci/opsi/operations_insights_client.py +180 -180
- oci/optimizer/optimizer_client.py +26 -26
- oci/os_management/event_client.py +8 -8
- oci/os_management/os_management_client.py +69 -69
- oci/os_management_hub/event_client.py +8 -8
- oci/os_management_hub/lifecycle_environment_client.py +12 -12
- oci/os_management_hub/managed_instance_client.py +31 -31
- oci/os_management_hub/managed_instance_group_client.py +25 -25
- oci/os_management_hub/management_station_client.py +10 -10
- oci/os_management_hub/onboarding_client.py +6 -6
- oci/os_management_hub/reporting_managed_instance_client.py +3 -3
- oci/os_management_hub/scheduled_job_client.py +7 -7
- oci/os_management_hub/software_source_client.py +27 -27
- 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/postgresql_client.py +33 -33
- oci/queue/queue_admin_client.py +11 -11
- oci/queue/queue_client.py +8 -8
- oci/recovery/database_recovery_client.py +26 -26
- oci/redis/redis_cluster_client.py +12 -12
- oci/resource_manager/resource_manager_client.py +52 -52
- oci/resource_scheduler/schedule_client.py +13 -13
- oci/resource_search/resource_search_client.py +3 -3
- oci/retry/__init__.py +0 -1
- 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/connector_plugins_client.py +2 -2
- oci/sch/service_connector_client.py +12 -12
- oci/secrets/secrets_client.py +3 -3
- oci/security_attribute/security_attribute_client.py +18 -18
- 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/__init__.py +8 -0
- oci/stack_monitoring/models/http_query_properties.py +212 -0
- oci/stack_monitoring/models/http_script_file_details.py +103 -0
- oci/stack_monitoring/models/http_update_query_properties.py +211 -0
- oci/stack_monitoring/models/jmx_query_properties.py +1 -1
- oci/stack_monitoring/models/jmx_update_query_properties.py +1 -1
- oci/stack_monitoring/models/metric_extension_query_properties.py +11 -3
- oci/stack_monitoring/models/metric_extension_summary.py +7 -3
- oci/stack_monitoring/models/metric_extension_update_query_properties.py +11 -3
- oci/stack_monitoring/models/os_command_query_properties.py +1 -1
- oci/stack_monitoring/models/os_command_update_query_properties.py +1 -1
- oci/stack_monitoring/models/script_file_details.py +1 -1
- oci/stack_monitoring/models/sql_out_param_details.py +44 -9
- oci/stack_monitoring/models/sql_query_properties.py +1 -1
- oci/stack_monitoring/models/sql_update_query_properties.py +1 -1
- oci/stack_monitoring/models/update_http_script_file_details.py +103 -0
- oci/stack_monitoring/stack_monitoring_client.py +86 -80
- 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/usageapi_client.py +33 -33
- oci/vault/vaults_client.py +13 -13
- oci/vbs_inst/vbs_instance_client.py +10 -10
- oci/version.py +1 -1
- oci/visual_builder/models/__init__.py +8 -4
- oci/visual_builder/models/create_vb_instance_details.py +29 -2
- oci/visual_builder/models/network_endpoint_details.py +102 -0
- oci/visual_builder/models/private_endpoint_details.py +144 -0
- oci/visual_builder/models/update_network_endpoint_details.py +102 -0
- oci/visual_builder/models/update_private_endpoint_details.py +113 -0
- oci/visual_builder/models/update_vb_instance_details.py +29 -2
- oci/visual_builder/models/vb_instance.py +29 -60
- oci/visual_builder/models/vb_instance_summary.py +29 -2
- oci/visual_builder/vb_instance_client.py +129 -13
- oci/visual_builder/vb_instance_client_composite_operations.py +39 -0
- 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/zpr/zpr_client.py +15 -15
- {oci-2.139.0.dist-info → oci-2.141.0.dist-info}/METADATA +1 -1
- {oci-2.139.0.dist-info → oci-2.141.0.dist-info}/RECORD +595 -486
- oci/visual_builder/models/attachment_details.py +0 -218
- oci/visual_builder/models/idcs_info_details.py +0 -198
- {oci-2.139.0.dist-info → oci-2.141.0.dist-info}/LICENSE.txt +0 -0
- {oci-2.139.0.dist-info → oci-2.141.0.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
- {oci-2.139.0.dist-info → oci-2.141.0.dist-info}/WHEEL +0 -0
- {oci-2.139.0.dist-info → oci-2.141.0.dist-info}/top_level.txt +0 -0
@@ -143,7 +143,7 @@ class AIServiceVisionClient(object):
|
|
143
143
|
:rtype: :class:`~oci.response.Response`
|
144
144
|
|
145
145
|
:example:
|
146
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
146
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.141.0/aivision/analyze_document.py.html>`__ to see an example of how to use analyze_document API.
|
147
147
|
"""
|
148
148
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
149
149
|
required_arguments = []
|
@@ -231,7 +231,7 @@ class AIServiceVisionClient(object):
|
|
231
231
|
:rtype: :class:`~oci.response.Response`
|
232
232
|
|
233
233
|
:example:
|
234
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
234
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.141.0/aivision/analyze_image.py.html>`__ to see an example of how to use analyze_image API.
|
235
235
|
"""
|
236
236
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
237
237
|
required_arguments = []
|
@@ -326,7 +326,7 @@ class AIServiceVisionClient(object):
|
|
326
326
|
:rtype: :class:`~oci.response.Response`
|
327
327
|
|
328
328
|
:example:
|
329
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
329
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.141.0/aivision/cancel_document_job.py.html>`__ to see an example of how to use cancel_document_job API.
|
330
330
|
"""
|
331
331
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
332
332
|
required_arguments = ['documentJobId']
|
@@ -429,7 +429,7 @@ class AIServiceVisionClient(object):
|
|
429
429
|
:rtype: :class:`~oci.response.Response`
|
430
430
|
|
431
431
|
:example:
|
432
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
432
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.141.0/aivision/cancel_image_job.py.html>`__ to see an example of how to use cancel_image_job API.
|
433
433
|
"""
|
434
434
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
435
435
|
required_arguments = ['imageJobId']
|
@@ -498,6 +498,109 @@ class AIServiceVisionClient(object):
|
|
498
498
|
api_reference_link=api_reference_link,
|
499
499
|
required_arguments=required_arguments)
|
500
500
|
|
501
|
+
def cancel_video_job(self, video_job_id, **kwargs):
|
502
|
+
"""
|
503
|
+
Cancel a video analysis job.
|
504
|
+
|
505
|
+
|
506
|
+
:param str video_job_id: (required)
|
507
|
+
Video job id.
|
508
|
+
|
509
|
+
:param str if_match: (optional)
|
510
|
+
For optimistic concurrency control. In the PUT or DELETE call
|
511
|
+
for a resource, set the `if-match` parameter to the value of the
|
512
|
+
etag from a previous GET or POST response for that resource.
|
513
|
+
The resource will be updated or deleted only if the etag you
|
514
|
+
provide matches the resource's current etag value.
|
515
|
+
|
516
|
+
:param str opc_request_id: (optional)
|
517
|
+
The client request ID for tracing.
|
518
|
+
|
519
|
+
:param obj retry_strategy: (optional)
|
520
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
521
|
+
|
522
|
+
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.
|
523
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
524
|
+
|
525
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
526
|
+
|
527
|
+
:param bool allow_control_chars: (optional)
|
528
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
529
|
+
By default, the response will not allow control characters in strings
|
530
|
+
|
531
|
+
:return: A :class:`~oci.response.Response` object with data of type None
|
532
|
+
:rtype: :class:`~oci.response.Response`
|
533
|
+
|
534
|
+
:example:
|
535
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.141.0/aivision/cancel_video_job.py.html>`__ to see an example of how to use cancel_video_job API.
|
536
|
+
"""
|
537
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
538
|
+
required_arguments = ['videoJobId']
|
539
|
+
resource_path = "/videoJobs/{videoJobId}/actions/cancel"
|
540
|
+
method = "POST"
|
541
|
+
operation_name = "cancel_video_job"
|
542
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/vision/20220125/VideoJob/CancelVideoJob"
|
543
|
+
|
544
|
+
# Don't accept unknown kwargs
|
545
|
+
expected_kwargs = [
|
546
|
+
"allow_control_chars",
|
547
|
+
"retry_strategy",
|
548
|
+
"if_match",
|
549
|
+
"opc_request_id"
|
550
|
+
]
|
551
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
552
|
+
if extra_kwargs:
|
553
|
+
raise ValueError(
|
554
|
+
f"cancel_video_job got unknown kwargs: {extra_kwargs!r}")
|
555
|
+
|
556
|
+
path_params = {
|
557
|
+
"videoJobId": video_job_id
|
558
|
+
}
|
559
|
+
|
560
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
561
|
+
|
562
|
+
for (k, v) in six.iteritems(path_params):
|
563
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
564
|
+
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
565
|
+
|
566
|
+
header_params = {
|
567
|
+
"accept": "application/json",
|
568
|
+
"content-type": "application/json",
|
569
|
+
"if-match": kwargs.get("if_match", missing),
|
570
|
+
"opc-request-id": kwargs.get("opc_request_id", missing)
|
571
|
+
}
|
572
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
573
|
+
|
574
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
575
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
576
|
+
client_retry_strategy=self.retry_strategy
|
577
|
+
)
|
578
|
+
|
579
|
+
if retry_strategy:
|
580
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
581
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
582
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
583
|
+
return retry_strategy.make_retrying_call(
|
584
|
+
self.base_client.call_api,
|
585
|
+
resource_path=resource_path,
|
586
|
+
method=method,
|
587
|
+
path_params=path_params,
|
588
|
+
header_params=header_params,
|
589
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
590
|
+
operation_name=operation_name,
|
591
|
+
api_reference_link=api_reference_link,
|
592
|
+
required_arguments=required_arguments)
|
593
|
+
else:
|
594
|
+
return self.base_client.call_api(
|
595
|
+
resource_path=resource_path,
|
596
|
+
method=method,
|
597
|
+
path_params=path_params,
|
598
|
+
header_params=header_params,
|
599
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
600
|
+
operation_name=operation_name,
|
601
|
+
api_reference_link=api_reference_link,
|
602
|
+
required_arguments=required_arguments)
|
603
|
+
|
501
604
|
def cancel_work_request(self, work_request_id, **kwargs):
|
502
605
|
"""
|
503
606
|
Cancel the work request with the given ID.
|
@@ -532,7 +635,7 @@ class AIServiceVisionClient(object):
|
|
532
635
|
:rtype: :class:`~oci.response.Response`
|
533
636
|
|
534
637
|
:example:
|
535
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
638
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.141.0/aivision/cancel_work_request.py.html>`__ to see an example of how to use cancel_work_request API.
|
536
639
|
"""
|
537
640
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
538
641
|
required_arguments = ['workRequestId']
|
@@ -638,7 +741,7 @@ class AIServiceVisionClient(object):
|
|
638
741
|
:rtype: :class:`~oci.response.Response`
|
639
742
|
|
640
743
|
:example:
|
641
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
744
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.141.0/aivision/change_model_compartment.py.html>`__ to see an example of how to use change_model_compartment API.
|
642
745
|
"""
|
643
746
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
644
747
|
required_arguments = ['modelId']
|
@@ -746,7 +849,7 @@ class AIServiceVisionClient(object):
|
|
746
849
|
:rtype: :class:`~oci.response.Response`
|
747
850
|
|
748
851
|
:example:
|
749
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
852
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.141.0/aivision/change_project_compartment.py.html>`__ to see an example of how to use change_project_compartment API.
|
750
853
|
"""
|
751
854
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
752
855
|
required_arguments = ['projectId']
|
@@ -851,7 +954,7 @@ class AIServiceVisionClient(object):
|
|
851
954
|
:rtype: :class:`~oci.response.Response`
|
852
955
|
|
853
956
|
:example:
|
854
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
957
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.141.0/aivision/create_document_job.py.html>`__ to see an example of how to use create_document_job API.
|
855
958
|
"""
|
856
959
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
857
960
|
required_arguments = []
|
@@ -947,7 +1050,7 @@ class AIServiceVisionClient(object):
|
|
947
1050
|
:rtype: :class:`~oci.response.Response`
|
948
1051
|
|
949
1052
|
:example:
|
950
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1053
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.141.0/aivision/create_image_job.py.html>`__ to see an example of how to use create_image_job API.
|
951
1054
|
"""
|
952
1055
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
953
1056
|
required_arguments = []
|
@@ -1043,7 +1146,7 @@ class AIServiceVisionClient(object):
|
|
1043
1146
|
:rtype: :class:`~oci.response.Response`
|
1044
1147
|
|
1045
1148
|
:example:
|
1046
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1149
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.141.0/aivision/create_model.py.html>`__ to see an example of how to use create_model API.
|
1047
1150
|
"""
|
1048
1151
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1049
1152
|
required_arguments = []
|
@@ -1139,7 +1242,7 @@ class AIServiceVisionClient(object):
|
|
1139
1242
|
:rtype: :class:`~oci.response.Response`
|
1140
1243
|
|
1141
1244
|
:example:
|
1142
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1245
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.141.0/aivision/create_project.py.html>`__ to see an example of how to use create_project API.
|
1143
1246
|
"""
|
1144
1247
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1145
1248
|
required_arguments = []
|
@@ -1201,6 +1304,102 @@ class AIServiceVisionClient(object):
|
|
1201
1304
|
api_reference_link=api_reference_link,
|
1202
1305
|
required_arguments=required_arguments)
|
1203
1306
|
|
1307
|
+
def create_video_job(self, create_video_job_details, **kwargs):
|
1308
|
+
"""
|
1309
|
+
Create a video analysis job with given inputs and features.
|
1310
|
+
|
1311
|
+
|
1312
|
+
:param oci.ai_vision.models.CreateVideoJobDetails create_video_job_details: (required)
|
1313
|
+
Details about the video analysis.
|
1314
|
+
|
1315
|
+
:param str opc_retry_token: (optional)
|
1316
|
+
A token that uniquely identifies a request so it can be retried in case of a timeout or
|
1317
|
+
server error without the risk of executing that same action again. Retry tokens expire after 24
|
1318
|
+
hours, but can be invalidated before then due to conflicting operations. For example, if a resource
|
1319
|
+
has been deleted and purged from the system, then a retry of the original creation request
|
1320
|
+
might be rejected.
|
1321
|
+
|
1322
|
+
:param str opc_request_id: (optional)
|
1323
|
+
The client request ID for tracing.
|
1324
|
+
|
1325
|
+
:param obj retry_strategy: (optional)
|
1326
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
1327
|
+
|
1328
|
+
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.
|
1329
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
1330
|
+
|
1331
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
1332
|
+
|
1333
|
+
:param bool allow_control_chars: (optional)
|
1334
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
1335
|
+
By default, the response will not allow control characters in strings
|
1336
|
+
|
1337
|
+
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.ai_vision.models.VideoJob`
|
1338
|
+
:rtype: :class:`~oci.response.Response`
|
1339
|
+
|
1340
|
+
:example:
|
1341
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.141.0/aivision/create_video_job.py.html>`__ to see an example of how to use create_video_job API.
|
1342
|
+
"""
|
1343
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1344
|
+
required_arguments = []
|
1345
|
+
resource_path = "/videoJobs"
|
1346
|
+
method = "POST"
|
1347
|
+
operation_name = "create_video_job"
|
1348
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/vision/20220125/VideoJob/CreateVideoJob"
|
1349
|
+
|
1350
|
+
# Don't accept unknown kwargs
|
1351
|
+
expected_kwargs = [
|
1352
|
+
"allow_control_chars",
|
1353
|
+
"retry_strategy",
|
1354
|
+
"opc_retry_token",
|
1355
|
+
"opc_request_id"
|
1356
|
+
]
|
1357
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
1358
|
+
if extra_kwargs:
|
1359
|
+
raise ValueError(
|
1360
|
+
f"create_video_job got unknown kwargs: {extra_kwargs!r}")
|
1361
|
+
|
1362
|
+
header_params = {
|
1363
|
+
"accept": "application/json",
|
1364
|
+
"content-type": "application/json",
|
1365
|
+
"opc-retry-token": kwargs.get("opc_retry_token", missing),
|
1366
|
+
"opc-request-id": kwargs.get("opc_request_id", missing)
|
1367
|
+
}
|
1368
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
1369
|
+
|
1370
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
1371
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
1372
|
+
client_retry_strategy=self.retry_strategy
|
1373
|
+
)
|
1374
|
+
|
1375
|
+
if retry_strategy:
|
1376
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
1377
|
+
self.base_client.add_opc_retry_token_if_needed(header_params)
|
1378
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
1379
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
1380
|
+
return retry_strategy.make_retrying_call(
|
1381
|
+
self.base_client.call_api,
|
1382
|
+
resource_path=resource_path,
|
1383
|
+
method=method,
|
1384
|
+
header_params=header_params,
|
1385
|
+
body=create_video_job_details,
|
1386
|
+
response_type="VideoJob",
|
1387
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
1388
|
+
operation_name=operation_name,
|
1389
|
+
api_reference_link=api_reference_link,
|
1390
|
+
required_arguments=required_arguments)
|
1391
|
+
else:
|
1392
|
+
return self.base_client.call_api(
|
1393
|
+
resource_path=resource_path,
|
1394
|
+
method=method,
|
1395
|
+
header_params=header_params,
|
1396
|
+
body=create_video_job_details,
|
1397
|
+
response_type="VideoJob",
|
1398
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
1399
|
+
operation_name=operation_name,
|
1400
|
+
api_reference_link=api_reference_link,
|
1401
|
+
required_arguments=required_arguments)
|
1402
|
+
|
1204
1403
|
def delete_model(self, model_id, **kwargs):
|
1205
1404
|
"""
|
1206
1405
|
Delete a model by identifier.
|
@@ -1235,7 +1434,7 @@ class AIServiceVisionClient(object):
|
|
1235
1434
|
:rtype: :class:`~oci.response.Response`
|
1236
1435
|
|
1237
1436
|
:example:
|
1238
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1437
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.141.0/aivision/delete_model.py.html>`__ to see an example of how to use delete_model API.
|
1239
1438
|
"""
|
1240
1439
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1241
1440
|
required_arguments = ['modelId']
|
@@ -1338,7 +1537,7 @@ class AIServiceVisionClient(object):
|
|
1338
1537
|
:rtype: :class:`~oci.response.Response`
|
1339
1538
|
|
1340
1539
|
:example:
|
1341
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1540
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.141.0/aivision/delete_project.py.html>`__ to see an example of how to use delete_project API.
|
1342
1541
|
"""
|
1343
1542
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1344
1543
|
required_arguments = ['projectId']
|
@@ -1434,7 +1633,7 @@ class AIServiceVisionClient(object):
|
|
1434
1633
|
:rtype: :class:`~oci.response.Response`
|
1435
1634
|
|
1436
1635
|
:example:
|
1437
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1636
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.141.0/aivision/get_document_job.py.html>`__ to see an example of how to use get_document_job API.
|
1438
1637
|
"""
|
1439
1638
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1440
1639
|
required_arguments = ['documentJobId']
|
@@ -1530,7 +1729,7 @@ class AIServiceVisionClient(object):
|
|
1530
1729
|
:rtype: :class:`~oci.response.Response`
|
1531
1730
|
|
1532
1731
|
:example:
|
1533
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1732
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.141.0/aivision/get_image_job.py.html>`__ to see an example of how to use get_image_job API.
|
1534
1733
|
"""
|
1535
1734
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1536
1735
|
required_arguments = ['imageJobId']
|
@@ -1626,7 +1825,7 @@ class AIServiceVisionClient(object):
|
|
1626
1825
|
:rtype: :class:`~oci.response.Response`
|
1627
1826
|
|
1628
1827
|
:example:
|
1629
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1828
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.141.0/aivision/get_model.py.html>`__ to see an example of how to use get_model API.
|
1630
1829
|
"""
|
1631
1830
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1632
1831
|
required_arguments = ['modelId']
|
@@ -1722,7 +1921,7 @@ class AIServiceVisionClient(object):
|
|
1722
1921
|
:rtype: :class:`~oci.response.Response`
|
1723
1922
|
|
1724
1923
|
:example:
|
1725
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1924
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.141.0/aivision/get_project.py.html>`__ to see an example of how to use get_project API.
|
1726
1925
|
"""
|
1727
1926
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1728
1927
|
required_arguments = ['projectId']
|
@@ -1791,6 +1990,102 @@ class AIServiceVisionClient(object):
|
|
1791
1990
|
api_reference_link=api_reference_link,
|
1792
1991
|
required_arguments=required_arguments)
|
1793
1992
|
|
1993
|
+
def get_video_job(self, video_job_id, **kwargs):
|
1994
|
+
"""
|
1995
|
+
Get details of a video analysis job.
|
1996
|
+
|
1997
|
+
|
1998
|
+
:param str video_job_id: (required)
|
1999
|
+
Video job id.
|
2000
|
+
|
2001
|
+
:param str opc_request_id: (optional)
|
2002
|
+
The client request ID for tracing.
|
2003
|
+
|
2004
|
+
:param obj retry_strategy: (optional)
|
2005
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
2006
|
+
|
2007
|
+
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.
|
2008
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
2009
|
+
|
2010
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
2011
|
+
|
2012
|
+
:param bool allow_control_chars: (optional)
|
2013
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
2014
|
+
By default, the response will not allow control characters in strings
|
2015
|
+
|
2016
|
+
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.ai_vision.models.VideoJob`
|
2017
|
+
:rtype: :class:`~oci.response.Response`
|
2018
|
+
|
2019
|
+
:example:
|
2020
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.141.0/aivision/get_video_job.py.html>`__ to see an example of how to use get_video_job API.
|
2021
|
+
"""
|
2022
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2023
|
+
required_arguments = ['videoJobId']
|
2024
|
+
resource_path = "/videoJobs/{videoJobId}"
|
2025
|
+
method = "GET"
|
2026
|
+
operation_name = "get_video_job"
|
2027
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/vision/20220125/VideoJob/GetVideoJob"
|
2028
|
+
|
2029
|
+
# Don't accept unknown kwargs
|
2030
|
+
expected_kwargs = [
|
2031
|
+
"allow_control_chars",
|
2032
|
+
"retry_strategy",
|
2033
|
+
"opc_request_id"
|
2034
|
+
]
|
2035
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
2036
|
+
if extra_kwargs:
|
2037
|
+
raise ValueError(
|
2038
|
+
f"get_video_job got unknown kwargs: {extra_kwargs!r}")
|
2039
|
+
|
2040
|
+
path_params = {
|
2041
|
+
"videoJobId": video_job_id
|
2042
|
+
}
|
2043
|
+
|
2044
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
2045
|
+
|
2046
|
+
for (k, v) in six.iteritems(path_params):
|
2047
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
2048
|
+
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
2049
|
+
|
2050
|
+
header_params = {
|
2051
|
+
"accept": "application/json",
|
2052
|
+
"content-type": "application/json",
|
2053
|
+
"opc-request-id": kwargs.get("opc_request_id", missing)
|
2054
|
+
}
|
2055
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
2056
|
+
|
2057
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
2058
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
2059
|
+
client_retry_strategy=self.retry_strategy
|
2060
|
+
)
|
2061
|
+
|
2062
|
+
if retry_strategy:
|
2063
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
2064
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
2065
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
2066
|
+
return retry_strategy.make_retrying_call(
|
2067
|
+
self.base_client.call_api,
|
2068
|
+
resource_path=resource_path,
|
2069
|
+
method=method,
|
2070
|
+
path_params=path_params,
|
2071
|
+
header_params=header_params,
|
2072
|
+
response_type="VideoJob",
|
2073
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
2074
|
+
operation_name=operation_name,
|
2075
|
+
api_reference_link=api_reference_link,
|
2076
|
+
required_arguments=required_arguments)
|
2077
|
+
else:
|
2078
|
+
return self.base_client.call_api(
|
2079
|
+
resource_path=resource_path,
|
2080
|
+
method=method,
|
2081
|
+
path_params=path_params,
|
2082
|
+
header_params=header_params,
|
2083
|
+
response_type="VideoJob",
|
2084
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
2085
|
+
operation_name=operation_name,
|
2086
|
+
api_reference_link=api_reference_link,
|
2087
|
+
required_arguments=required_arguments)
|
2088
|
+
|
1794
2089
|
def get_work_request(self, work_request_id, **kwargs):
|
1795
2090
|
"""
|
1796
2091
|
Gets the status of the work request with the given ID.
|
@@ -1818,7 +2113,7 @@ class AIServiceVisionClient(object):
|
|
1818
2113
|
:rtype: :class:`~oci.response.Response`
|
1819
2114
|
|
1820
2115
|
:example:
|
1821
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2116
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.141.0/aivision/get_work_request.py.html>`__ to see an example of how to use get_work_request API.
|
1822
2117
|
"""
|
1823
2118
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1824
2119
|
required_arguments = ['workRequestId']
|
@@ -1944,7 +2239,7 @@ class AIServiceVisionClient(object):
|
|
1944
2239
|
:rtype: :class:`~oci.response.Response`
|
1945
2240
|
|
1946
2241
|
:example:
|
1947
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2242
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.141.0/aivision/list_models.py.html>`__ to see an example of how to use list_models API.
|
1948
2243
|
"""
|
1949
2244
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1950
2245
|
required_arguments = []
|
@@ -2100,7 +2395,7 @@ class AIServiceVisionClient(object):
|
|
2100
2395
|
:rtype: :class:`~oci.response.Response`
|
2101
2396
|
|
2102
2397
|
:example:
|
2103
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2398
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.141.0/aivision/list_projects.py.html>`__ to see an example of how to use list_projects API.
|
2104
2399
|
"""
|
2105
2400
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2106
2401
|
required_arguments = []
|
@@ -2243,7 +2538,7 @@ class AIServiceVisionClient(object):
|
|
2243
2538
|
:rtype: :class:`~oci.response.Response`
|
2244
2539
|
|
2245
2540
|
:example:
|
2246
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2541
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.141.0/aivision/list_work_request_errors.py.html>`__ to see an example of how to use list_work_request_errors API.
|
2247
2542
|
"""
|
2248
2543
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2249
2544
|
required_arguments = ['workRequestId']
|
@@ -2383,7 +2678,7 @@ class AIServiceVisionClient(object):
|
|
2383
2678
|
:rtype: :class:`~oci.response.Response`
|
2384
2679
|
|
2385
2680
|
:example:
|
2386
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2681
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.141.0/aivision/list_work_request_logs.py.html>`__ to see an example of how to use list_work_request_logs API.
|
2387
2682
|
"""
|
2388
2683
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2389
2684
|
required_arguments = ['workRequestId']
|
@@ -2534,7 +2829,7 @@ class AIServiceVisionClient(object):
|
|
2534
2829
|
:rtype: :class:`~oci.response.Response`
|
2535
2830
|
|
2536
2831
|
:example:
|
2537
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2832
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.141.0/aivision/list_work_requests.py.html>`__ to see an example of how to use list_work_requests API.
|
2538
2833
|
"""
|
2539
2834
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2540
2835
|
required_arguments = []
|
@@ -2671,7 +2966,7 @@ class AIServiceVisionClient(object):
|
|
2671
2966
|
:rtype: :class:`~oci.response.Response`
|
2672
2967
|
|
2673
2968
|
:example:
|
2674
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2969
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.141.0/aivision/update_model.py.html>`__ to see an example of how to use update_model API.
|
2675
2970
|
"""
|
2676
2971
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2677
2972
|
required_arguments = ['modelId']
|
@@ -2779,7 +3074,7 @@ class AIServiceVisionClient(object):
|
|
2779
3074
|
:rtype: :class:`~oci.response.Response`
|
2780
3075
|
|
2781
3076
|
:example:
|
2782
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3077
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.141.0/aivision/update_project.py.html>`__ to see an example of how to use update_project API.
|
2783
3078
|
"""
|
2784
3079
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2785
3080
|
required_arguments = ['projectId']
|
@@ -187,6 +187,48 @@ class AIServiceVisionClientCompositeOperations(object):
|
|
187
187
|
except Exception as e:
|
188
188
|
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
189
189
|
|
190
|
+
def create_video_job_and_wait_for_state(self, create_video_job_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
191
|
+
"""
|
192
|
+
Calls :py:func:`~oci.ai_vision.AIServiceVisionClient.create_video_job` and waits for the :py:class:`~oci.ai_vision.models.VideoJob` acted upon
|
193
|
+
to enter the given state(s).
|
194
|
+
|
195
|
+
:param oci.ai_vision.models.CreateVideoJobDetails create_video_job_details: (required)
|
196
|
+
Details about the video analysis.
|
197
|
+
|
198
|
+
:param list[str] wait_for_states:
|
199
|
+
An array of states to wait on. These should be valid values for :py:attr:`~oci.ai_vision.models.VideoJob.lifecycle_state`
|
200
|
+
|
201
|
+
:param dict operation_kwargs:
|
202
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.ai_vision.AIServiceVisionClient.create_video_job`
|
203
|
+
|
204
|
+
:param dict waiter_kwargs:
|
205
|
+
A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds``
|
206
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
207
|
+
"""
|
208
|
+
operation_result = self.client.create_video_job(create_video_job_details, **operation_kwargs)
|
209
|
+
if not wait_for_states:
|
210
|
+
return operation_result
|
211
|
+
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
212
|
+
video_job_id = operation_result.data.id
|
213
|
+
|
214
|
+
try:
|
215
|
+
waiter_result = oci.wait_until(
|
216
|
+
self.client,
|
217
|
+
self.client.get_video_job(video_job_id), # noqa: F821
|
218
|
+
evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
|
219
|
+
**waiter_kwargs
|
220
|
+
)
|
221
|
+
result_to_return = waiter_result
|
222
|
+
|
223
|
+
return result_to_return
|
224
|
+
except (NameError, TypeError) as e:
|
225
|
+
if not e.args:
|
226
|
+
e.args = ('',)
|
227
|
+
e.args = e.args + ('This composite operation is currently not supported in the SDK. Please use the operation from the service client and use waiters as an alternative. For more information on waiters, visit: "https://docs.oracle.com/en-us/iaas/tools/python/latest/api/waiters.html"', )
|
228
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
229
|
+
except Exception as e:
|
230
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
231
|
+
|
190
232
|
def delete_model_and_wait_for_state(self, model_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
191
233
|
"""
|
192
234
|
Calls :py:func:`~oci.ai_vision.AIServiceVisionClient.delete_model` and waits for the :py:class:`~oci.ai_vision.models.WorkRequest`
|