volcengine-python-sdk 4.0.26__py2.py3-none-any.whl → 4.0.28__py2.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.
Potentially problematic release.
This version of volcengine-python-sdk might be problematic. Click here for more details.
- {volcengine_python_sdk-4.0.26.dist-info → volcengine_python_sdk-4.0.28.dist-info}/METADATA +1 -1
- {volcengine_python_sdk-4.0.26.dist-info → volcengine_python_sdk-4.0.28.dist-info}/RECORD +427 -44
- {volcengine_python_sdk-4.0.26.dist-info → volcengine_python_sdk-4.0.28.dist-info}/top_level.txt +1 -0
- volcenginesdkacep/__init__.py +15 -0
- volcenginesdkacep/api/acep_api.py +485 -0
- volcenginesdkacep/models/__init__.py +15 -0
- volcenginesdkacep/models/backup_data_request.py +176 -0
- volcenginesdkacep/models/backup_data_response.py +149 -0
- volcenginesdkacep/models/delete_backup_data_request.py +150 -0
- volcenginesdkacep/models/delete_backup_data_response.py +123 -0
- volcenginesdkacep/models/detail_for_backup_data_output.py +201 -0
- volcenginesdkacep/models/detail_for_delete_backup_data_output.py +175 -0
- volcenginesdkacep/models/detail_for_restore_data_output.py +175 -0
- volcenginesdkacep/models/get_dc_bandwidth_daily_peak_request.py +204 -0
- volcenginesdkacep/models/get_dc_bandwidth_daily_peak_response.py +123 -0
- volcenginesdkacep/models/list_backup_data_request.py +254 -0
- volcenginesdkacep/models/list_backup_data_response.py +149 -0
- volcenginesdkacep/models/restore_data_request.py +203 -0
- volcenginesdkacep/models/restore_data_response.py +149 -0
- volcenginesdkacep/models/row_for_get_dc_bandwidth_daily_peak_output.py +253 -0
- volcenginesdkacep/models/row_for_list_backup_data_output.py +799 -0
- volcenginesdkclb/__init__.py +10 -0
- volcenginesdkclb/api/clb_api.py +194 -0
- volcenginesdkclb/models/__init__.py +10 -0
- volcenginesdkclb/models/access_log_for_describe_network_load_balancer_attributes_output.py +175 -0
- volcenginesdkclb/models/add_domain_extension_for_modify_listener_domain_extensions_input.py +175 -0
- volcenginesdkclb/models/convert_load_balancer_billing_type_request.py +27 -1
- volcenginesdkclb/models/describe_listener_attributes_response.py +27 -1
- volcenginesdkclb/models/describe_network_load_balancer_attributes_response.py +27 -1
- volcenginesdkclb/models/describe_nlb_server_groups_request.py +53 -1
- volcenginesdkclb/models/domain_extension_for_describe_listener_attributes_output.py +201 -0
- volcenginesdkclb/models/domain_extension_for_describe_listeners_output.py +201 -0
- volcenginesdkclb/models/listener_for_describe_listeners_output.py +27 -1
- volcenginesdkclb/models/modify_domain_extension_for_modify_listener_domain_extensions_input.py +175 -0
- volcenginesdkclb/models/modify_listener_domain_extensions_request.py +202 -0
- volcenginesdkclb/models/modify_listener_domain_extensions_response.py +123 -0
- volcenginesdkclb/models/modify_network_load_balancer_access_log_request.py +202 -0
- volcenginesdkclb/models/modify_network_load_balancer_access_log_response.py +123 -0
- volcenginesdkclb/models/remove_domain_extension_for_modify_listener_domain_extensions_input.py +123 -0
- volcenginesdkcore/api_client.py +1 -1
- volcenginesdkcore/configuration.py +1 -1
- volcenginesdkcore/interceptor/interceptors/build_request_interceptor.py +4 -0
- volcenginesdkcore/interceptor/interceptors/sign_request_interceptor.py +1 -1
- volcenginesdkdbw/__init__.py +18 -0
- volcenginesdkdbw/api/dbw_api.py +388 -0
- volcenginesdkdbw/models/__init__.py +18 -0
- volcenginesdkdbw/models/column_for_get_table_info_output.py +331 -0
- volcenginesdkdbw/models/execute_sql_request.py +231 -0
- volcenginesdkdbw/models/execute_sql_response.py +123 -0
- volcenginesdkdbw/models/foreign_key_for_get_table_info_output.py +279 -0
- volcenginesdkdbw/models/get_table_info_request.py +205 -0
- volcenginesdkdbw/models/get_table_info_response.py +123 -0
- volcenginesdkdbw/models/index_for_get_table_info_output.py +201 -0
- volcenginesdkdbw/models/item_for_list_databases_output.py +279 -0
- volcenginesdkdbw/models/list_databases_request.py +203 -0
- volcenginesdkdbw/models/list_databases_response.py +149 -0
- volcenginesdkdbw/models/list_tables_request.py +230 -0
- volcenginesdkdbw/models/list_tables_response.py +149 -0
- volcenginesdkdbw/models/partition_options_for_get_table_info_output.py +175 -0
- volcenginesdkdbw/models/result_for_execute_sql_output.py +305 -0
- volcenginesdkdbw/models/row_for_execute_sql_output.py +123 -0
- volcenginesdkdbw/models/running_info_for_execute_sql_output.py +201 -0
- volcenginesdkdbw/models/table_meta_for_get_table_info_output.py +383 -0
- volcenginesdkdbw/models/table_options_for_get_table_info_output.py +331 -0
- volcenginesdkgraph/__init__.py +48 -0
- volcenginesdkgraph/api/graph_api.py +951 -78
- volcenginesdkgraph/models/__init__.py +48 -0
- volcenginesdkgraph/models/availability_zone_for_list_graph_rag_service_output.py +253 -0
- volcenginesdkgraph/models/bg3_link_for_list_graph_rag_service_output.py +175 -0
- volcenginesdkgraph/models/bytestore_info_for_list_graph_rag_service_output.py +201 -0
- volcenginesdkgraph/models/conf_checker_for_get_conf_checker_output.py +409 -0
- volcenginesdkgraph/models/conf_checker_for_update_conf_checker_input.py +409 -0
- volcenginesdkgraph/models/conf_checker_for_validate_conf_checker_input.py +409 -0
- volcenginesdkgraph/models/convert_value_for_list_tablets_output.py +149 -0
- volcenginesdkgraph/models/create_instance_request.py +29 -3
- volcenginesdkgraph/models/first_for_list_tablet_task_output.py +175 -0
- volcenginesdkgraph/models/get_conf_checker_request.py +253 -0
- volcenginesdkgraph/models/get_conf_checker_response.py +123 -0
- volcenginesdkgraph/models/graphrag_add_knowledge_base_request.py +178 -0
- volcenginesdkgraph/models/graphrag_add_knowledge_base_response.py +95 -0
- volcenginesdkgraph/models/image_info_for_list_graph_rag_service_output.py +227 -0
- volcenginesdkgraph/models/info_for_list_graph_rag_service_output.py +175 -0
- volcenginesdkgraph/models/info_for_list_tablet_task_output.py +201 -0
- volcenginesdkgraph/models/ins_spec_for_list_graph_rag_service_output.py +175 -0
- volcenginesdkgraph/models/list_graph_rag_service_request.py +178 -0
- volcenginesdkgraph/models/list_graph_rag_service_response.py +149 -0
- volcenginesdkgraph/models/list_tablet_server_request.py +150 -0
- volcenginesdkgraph/models/list_tablet_server_response.py +149 -0
- volcenginesdkgraph/models/list_tablet_task_request.py +177 -0
- volcenginesdkgraph/models/list_tablet_task_response.py +123 -0
- volcenginesdkgraph/models/list_tablets_request.py +254 -0
- volcenginesdkgraph/models/list_tablets_response.py +123 -0
- volcenginesdkgraph/models/migrate_tablet_replica_request.py +257 -0
- volcenginesdkgraph/models/migrate_tablet_replica_response.py +123 -0
- volcenginesdkgraph/models/pending_schedule_replica_for_list_tablets_output.py +149 -0
- volcenginesdkgraph/models/replica_info_for_list_tablets_output.py +149 -0
- volcenginesdkgraph/models/replicas_to_close_for_list_tablet_task_output.py +227 -0
- volcenginesdkgraph/models/replicas_to_delete_for_list_tablet_task_output.py +227 -0
- volcenginesdkgraph/models/replicas_to_failover_by_promote_for_list_tablet_task_output.py +149 -0
- volcenginesdkgraph/models/replicas_to_failover_by_reopen_for_list_tablet_task_output.py +149 -0
- volcenginesdkgraph/models/replicas_to_open_or_add_for_list_tablet_task_output.py +227 -0
- volcenginesdkgraph/models/second_for_list_tablet_task_output.py +175 -0
- volcenginesdkgraph/models/storage_info_for_list_graph_rag_service_output.py +149 -0
- volcenginesdkgraph/models/tablet_info_for_list_tablets_output.py +149 -0
- volcenginesdkgraph/models/tablet_server_info_for_list_tablet_server_output.py +227 -0
- volcenginesdkgraph/models/tablet_task_info_for_list_tablet_task_output.py +435 -0
- volcenginesdkgraph/models/tablet_to_merge_for_list_tablet_task_output.py +149 -0
- volcenginesdkgraph/models/tablet_to_split_for_list_tablet_task_output.py +175 -0
- volcenginesdkgraph/models/tablets_to_delete_for_list_tablet_task_output.py +175 -0
- volcenginesdkgraph/models/tag_for_list_graph_rag_service_output.py +149 -0
- volcenginesdkgraph/models/update_conf_checker_request.py +123 -0
- volcenginesdkgraph/models/update_conf_checker_response.py +123 -0
- volcenginesdkgraph/models/validate_conf_checker_request.py +123 -0
- volcenginesdkgraph/models/validate_conf_checker_response.py +149 -0
- volcenginesdkgraph/models/value_for_list_tablets_output.py +201 -0
- volcenginesdkgraph/models/ve_graph_info_for_list_graph_rag_service_output.py +851 -0
- volcenginesdkid/__init__.py +276 -0
- volcenginesdkid/api/__init__.py +6 -0
- volcenginesdkid/api/id_api.py +7891 -0
- volcenginesdkid/models/__init__.py +272 -0
- volcenginesdkid/models/api_key_auth_config_for_batch_get_inbound_auth_config_output.py +201 -0
- volcenginesdkid/models/api_key_auth_config_for_create_api_key_input.py +201 -0
- volcenginesdkid/models/api_key_auth_config_for_create_inbound_auth_config_input.py +201 -0
- volcenginesdkid/models/api_key_auth_config_for_create_inbound_auth_config_output.py +201 -0
- volcenginesdkid/models/api_key_auth_config_for_get_inbound_auth_config_output.py +201 -0
- volcenginesdkid/models/api_key_auth_config_for_list_inbound_auth_configs_output.py +201 -0
- volcenginesdkid/models/api_key_auth_config_for_update_inbound_auth_config_input.py +201 -0
- volcenginesdkid/models/api_key_credential_provider_for_batch_get_api_key_credential_providers_output.py +201 -0
- volcenginesdkid/models/api_key_credential_provider_for_list_api_key_credential_providers_output.py +201 -0
- volcenginesdkid/models/api_key_metadata_for_batch_get_inbound_auth_config_output.py +149 -0
- volcenginesdkid/models/api_key_metadata_for_create_api_key_credential_provider_input.py +149 -0
- volcenginesdkid/models/api_key_metadata_for_create_api_key_input.py +149 -0
- volcenginesdkid/models/api_key_metadata_for_create_inbound_auth_config_input.py +149 -0
- volcenginesdkid/models/api_key_metadata_for_create_inbound_auth_config_output.py +149 -0
- volcenginesdkid/models/api_key_metadata_for_get_api_key_credential_provider_output.py +149 -0
- volcenginesdkid/models/api_key_metadata_for_get_inbound_auth_config_output.py +149 -0
- volcenginesdkid/models/api_key_metadata_for_get_resource_api_key_output.py +149 -0
- volcenginesdkid/models/api_key_metadata_for_list_inbound_auth_configs_output.py +149 -0
- volcenginesdkid/models/api_key_metadata_for_update_api_key_credential_provider_input.py +149 -0
- volcenginesdkid/models/api_key_metadata_for_update_inbound_auth_config_input.py +149 -0
- volcenginesdkid/models/attach_inbound_auth_config_request.py +151 -0
- volcenginesdkid/models/attach_inbound_auth_config_response.py +95 -0
- volcenginesdkid/models/authorization_server_metadata_for_create_oauth2_credential_provider_input.py +201 -0
- volcenginesdkid/models/authorization_server_metadata_for_get_oauth2_credential_provider_output.py +201 -0
- volcenginesdkid/models/authorization_server_metadata_for_update_oauth2_credential_provider_input.py +201 -0
- volcenginesdkid/models/batch_get_api_key_credential_providers_request.py +149 -0
- volcenginesdkid/models/batch_get_api_key_credential_providers_response.py +123 -0
- volcenginesdkid/models/batch_get_inbound_auth_config_request.py +123 -0
- volcenginesdkid/models/batch_get_inbound_auth_config_response.py +123 -0
- volcenginesdkid/models/batch_get_oauth2_credential_providers_request.py +149 -0
- volcenginesdkid/models/batch_get_oauth2_credential_providers_response.py +123 -0
- volcenginesdkid/models/check_api_key_request.py +124 -0
- volcenginesdkid/models/check_api_key_response.py +95 -0
- volcenginesdkid/models/check_permission_request.py +254 -0
- volcenginesdkid/models/check_permission_response.py +149 -0
- volcenginesdkid/models/config_for_create_oauth2_credential_provider_input.py +331 -0
- volcenginesdkid/models/config_for_get_oauth2_credential_provider_output.py +331 -0
- volcenginesdkid/models/config_for_update_oauth2_credential_provider_input.py +331 -0
- volcenginesdkid/models/create_api_key_credential_provider_request.py +203 -0
- volcenginesdkid/models/create_api_key_credential_provider_response.py +175 -0
- volcenginesdkid/models/create_api_key_request.py +150 -0
- volcenginesdkid/models/create_api_key_response.py +95 -0
- volcenginesdkid/models/create_identity_provider_o_auth_request.py +419 -0
- volcenginesdkid/models/create_identity_provider_o_auth_response.py +409 -0
- volcenginesdkid/models/create_identity_provider_oidc_request.py +365 -0
- volcenginesdkid/models/create_identity_provider_oidc_response.py +357 -0
- volcenginesdkid/models/create_inbound_auth_config_request.py +254 -0
- volcenginesdkid/models/create_inbound_auth_config_response.py +357 -0
- volcenginesdkid/models/create_namespace_request.py +149 -0
- volcenginesdkid/models/create_namespace_response.py +175 -0
- volcenginesdkid/models/create_oauth2_credential_provider_request.py +206 -0
- volcenginesdkid/models/create_oauth2_credential_provider_response.py +175 -0
- volcenginesdkid/models/create_policy_request.py +149 -0
- volcenginesdkid/models/create_policy_response.py +175 -0
- volcenginesdkid/models/create_user_pool_client_request.py +230 -0
- volcenginesdkid/models/create_user_pool_client_response.py +461 -0
- volcenginesdkid/models/create_user_pool_request.py +150 -0
- volcenginesdkid/models/create_user_pool_response.py +383 -0
- volcenginesdkid/models/create_user_request.py +410 -0
- volcenginesdkid/models/create_user_response.py +773 -0
- volcenginesdkid/models/create_users_csv_request.py +124 -0
- volcenginesdkid/models/create_users_csv_response.py +201 -0
- volcenginesdkid/models/create_users_request.py +150 -0
- volcenginesdkid/models/create_users_response.py +201 -0
- volcenginesdkid/models/create_workload_identity_request.py +228 -0
- volcenginesdkid/models/create_workload_identity_response.py +305 -0
- volcenginesdkid/models/create_workload_pool_request.py +149 -0
- volcenginesdkid/models/create_workload_pool_response.py +253 -0
- volcenginesdkid/models/credential_provider_for_list_credential_providers_output.py +253 -0
- volcenginesdkid/models/custom_parameters_for_create_oauth2_credential_provider_input.py +123 -0
- volcenginesdkid/models/custom_parameters_for_get_oauth2_credential_provider_output.py +123 -0
- volcenginesdkid/models/custom_parameters_for_get_resource_oauth2_token_input.py +123 -0
- volcenginesdkid/models/custom_parameters_for_update_oauth2_credential_provider_input.py +123 -0
- volcenginesdkid/models/data_for_list_identity_providers_o_auth_output.py +409 -0
- volcenginesdkid/models/data_for_list_identity_providers_oidc_output.py +357 -0
- volcenginesdkid/models/data_for_list_identity_providers_output.py +227 -0
- volcenginesdkid/models/data_for_list_policies_output.py +175 -0
- volcenginesdkid/models/data_for_list_user_pool_clients_output.py +253 -0
- volcenginesdkid/models/data_for_list_user_pools_output.py +279 -0
- volcenginesdkid/models/data_for_list_users_output.py +773 -0
- volcenginesdkid/models/delete_api_key_credential_provider_request.py +150 -0
- volcenginesdkid/models/delete_api_key_credential_provider_response.py +95 -0
- volcenginesdkid/models/delete_api_key_request.py +151 -0
- volcenginesdkid/models/delete_api_key_response.py +95 -0
- volcenginesdkid/models/delete_identity_provider_o_auth_request.py +151 -0
- volcenginesdkid/models/delete_identity_provider_o_auth_response.py +123 -0
- volcenginesdkid/models/delete_identity_provider_oidc_request.py +151 -0
- volcenginesdkid/models/delete_identity_provider_oidc_response.py +123 -0
- volcenginesdkid/models/delete_identity_provider_request.py +151 -0
- volcenginesdkid/models/delete_identity_provider_response.py +123 -0
- volcenginesdkid/models/delete_inbound_auth_config_request.py +124 -0
- volcenginesdkid/models/delete_inbound_auth_config_response.py +95 -0
- volcenginesdkid/models/delete_namespace_request.py +123 -0
- volcenginesdkid/models/delete_namespace_response.py +149 -0
- volcenginesdkid/models/delete_oauth2_credential_provider_request.py +150 -0
- volcenginesdkid/models/delete_oauth2_credential_provider_response.py +95 -0
- volcenginesdkid/models/delete_policy_request.py +149 -0
- volcenginesdkid/models/delete_policy_response.py +149 -0
- volcenginesdkid/models/delete_user_pool_client_request.py +151 -0
- volcenginesdkid/models/delete_user_pool_client_response.py +123 -0
- volcenginesdkid/models/delete_user_pool_request.py +124 -0
- volcenginesdkid/models/delete_user_pool_response.py +123 -0
- volcenginesdkid/models/delete_users_request.py +150 -0
- volcenginesdkid/models/delete_users_response.py +201 -0
- volcenginesdkid/models/delete_workload_identity_request.py +150 -0
- volcenginesdkid/models/delete_workload_identity_response.py +95 -0
- volcenginesdkid/models/delete_workload_pool_request.py +123 -0
- volcenginesdkid/models/delete_workload_pool_response.py +95 -0
- volcenginesdkid/models/detach_inbound_auth_config_request.py +151 -0
- volcenginesdkid/models/detach_inbound_auth_config_response.py +95 -0
- volcenginesdkid/models/entity_for_check_permission_input.py +149 -0
- volcenginesdkid/models/entry_for_create_oauth2_credential_provider_input.py +149 -0
- volcenginesdkid/models/entry_for_get_oauth2_credential_provider_output.py +149 -0
- volcenginesdkid/models/entry_for_get_resource_oauth2_token_input.py +149 -0
- volcenginesdkid/models/entry_for_update_oauth2_credential_provider_input.py +149 -0
- volcenginesdkid/models/filter_for_list_identity_providers_input.py +149 -0
- volcenginesdkid/models/filter_for_list_user_pool_clients_input.py +175 -0
- volcenginesdkid/models/filter_for_list_user_pools_input.py +201 -0
- volcenginesdkid/models/filter_for_list_users_input.py +435 -0
- volcenginesdkid/models/get_api_key_credential_provider_request.py +150 -0
- volcenginesdkid/models/get_api_key_credential_provider_response.py +279 -0
- volcenginesdkid/models/get_identity_provider_o_auth_request.py +151 -0
- volcenginesdkid/models/get_identity_provider_o_auth_response.py +409 -0
- volcenginesdkid/models/get_identity_provider_oidc_request.py +151 -0
- volcenginesdkid/models/get_identity_provider_oidc_response.py +357 -0
- volcenginesdkid/models/get_inbound_auth_config_request.py +124 -0
- volcenginesdkid/models/get_inbound_auth_config_response.py +357 -0
- volcenginesdkid/models/get_namespace_request.py +149 -0
- volcenginesdkid/models/get_namespace_response.py +201 -0
- volcenginesdkid/models/get_oauth2_credential_provider_request.py +150 -0
- volcenginesdkid/models/get_oauth2_credential_provider_response.py +305 -0
- volcenginesdkid/models/get_policy_request.py +149 -0
- volcenginesdkid/models/get_policy_response.py +175 -0
- volcenginesdkid/models/get_resource_api_key_request.py +177 -0
- volcenginesdkid/models/get_resource_api_key_response.py +149 -0
- volcenginesdkid/models/get_resource_oauth2_token_request.py +307 -0
- volcenginesdkid/models/get_resource_oauth2_token_response.py +149 -0
- volcenginesdkid/models/get_user_csv_template_request.py +124 -0
- volcenginesdkid/models/get_user_csv_template_response.py +95 -0
- volcenginesdkid/models/get_user_pool_client_request.py +151 -0
- volcenginesdkid/models/get_user_pool_client_response.py +461 -0
- volcenginesdkid/models/get_user_pool_request.py +124 -0
- volcenginesdkid/models/get_user_pool_response.py +383 -0
- volcenginesdkid/models/get_user_request.py +151 -0
- volcenginesdkid/models/get_user_response.py +773 -0
- volcenginesdkid/models/get_workload_access_token_for_jwt_request.py +176 -0
- volcenginesdkid/models/get_workload_access_token_for_jwt_response.py +149 -0
- volcenginesdkid/models/get_workload_access_token_for_user_id_request.py +176 -0
- volcenginesdkid/models/get_workload_access_token_for_user_id_response.py +149 -0
- volcenginesdkid/models/get_workload_access_token_request.py +149 -0
- volcenginesdkid/models/get_workload_access_token_response.py +149 -0
- volcenginesdkid/models/get_workload_identity_request.py +150 -0
- volcenginesdkid/models/get_workload_identity_response.py +305 -0
- volcenginesdkid/models/get_workload_pool_request.py +149 -0
- volcenginesdkid/models/get_workload_pool_response.py +253 -0
- volcenginesdkid/models/grant_permission_request.py +228 -0
- volcenginesdkid/models/grant_permission_response.py +175 -0
- volcenginesdkid/models/id_token_for_create_user_pool_client_output.py +123 -0
- volcenginesdkid/models/id_token_for_get_user_pool_client_output.py +123 -0
- volcenginesdkid/models/id_token_for_update_user_pool_client_input.py +123 -0
- volcenginesdkid/models/id_token_for_update_user_pool_client_output.py +123 -0
- volcenginesdkid/models/inbound_auth_config_for_batch_get_inbound_auth_config_output.py +357 -0
- volcenginesdkid/models/inbound_auth_config_for_list_inbound_auth_configs_output.py +357 -0
- volcenginesdkid/models/jwt_auth_config_for_batch_get_inbound_auth_config_output.py +175 -0
- volcenginesdkid/models/jwt_auth_config_for_create_inbound_auth_config_input.py +175 -0
- volcenginesdkid/models/jwt_auth_config_for_create_inbound_auth_config_output.py +175 -0
- volcenginesdkid/models/jwt_auth_config_for_get_inbound_auth_config_output.py +175 -0
- volcenginesdkid/models/jwt_auth_config_for_list_inbound_auth_configs_output.py +175 -0
- volcenginesdkid/models/jwt_auth_config_for_update_inbound_auth_config_input.py +175 -0
- volcenginesdkid/models/list_api_key_credential_providers_request.py +177 -0
- volcenginesdkid/models/list_api_key_credential_providers_response.py +201 -0
- volcenginesdkid/models/list_credential_providers_request.py +177 -0
- volcenginesdkid/models/list_credential_providers_response.py +201 -0
- volcenginesdkid/models/list_identity_providers_o_auth_request.py +124 -0
- volcenginesdkid/models/list_identity_providers_o_auth_response.py +201 -0
- volcenginesdkid/models/list_identity_providers_oidc_request.py +124 -0
- volcenginesdkid/models/list_identity_providers_oidc_response.py +201 -0
- volcenginesdkid/models/list_identity_providers_request.py +204 -0
- volcenginesdkid/models/list_identity_providers_response.py +201 -0
- volcenginesdkid/models/list_inbound_auth_configs_request.py +203 -0
- volcenginesdkid/models/list_inbound_auth_configs_response.py +201 -0
- volcenginesdkid/models/list_namespaces_request.py +149 -0
- volcenginesdkid/models/list_namespaces_response.py +201 -0
- volcenginesdkid/models/list_oauth2_credential_providers_request.py +177 -0
- volcenginesdkid/models/list_oauth2_credential_providers_response.py +201 -0
- volcenginesdkid/models/list_policies_request.py +123 -0
- volcenginesdkid/models/list_policies_response.py +123 -0
- volcenginesdkid/models/list_user_pool_clients_request.py +256 -0
- volcenginesdkid/models/list_user_pool_clients_response.py +201 -0
- volcenginesdkid/models/list_user_pools_request.py +229 -0
- volcenginesdkid/models/list_user_pools_response.py +201 -0
- volcenginesdkid/models/list_users_request.py +256 -0
- volcenginesdkid/models/list_users_response.py +201 -0
- volcenginesdkid/models/list_workload_identities_request.py +209 -0
- volcenginesdkid/models/list_workload_identities_response.py +201 -0
- volcenginesdkid/models/list_workload_pools_request.py +157 -0
- volcenginesdkid/models/list_workload_pools_response.py +201 -0
- volcenginesdkid/models/oauth2_callback_request.py +178 -0
- volcenginesdkid/models/oauth2_callback_response.py +123 -0
- volcenginesdkid/models/oauth2_credential_provider_for_batch_get_oauth2_credential_providers_output.py +227 -0
- volcenginesdkid/models/oauth2_credential_provider_for_list_oauth2_credential_providers_output.py +227 -0
- volcenginesdkid/models/oauth2_discovery_for_create_oauth2_credential_provider_input.py +149 -0
- volcenginesdkid/models/oauth2_discovery_for_get_oauth2_credential_provider_output.py +149 -0
- volcenginesdkid/models/oauth2_discovery_for_update_oauth2_credential_provider_input.py +149 -0
- volcenginesdkid/models/operation_for_check_permission_input.py +149 -0
- volcenginesdkid/models/operation_for_grant_permission_input.py +175 -0
- volcenginesdkid/models/original_caller_for_check_permission_input.py +149 -0
- volcenginesdkid/models/original_caller_for_grant_permission_input.py +175 -0
- volcenginesdkid/models/parent_for_check_permission_input.py +149 -0
- volcenginesdkid/models/principal_for_check_permission_input.py +149 -0
- volcenginesdkid/models/principal_for_grant_permission_input.py +175 -0
- volcenginesdkid/models/provider_options_for_create_identity_provider_o_auth_input.py +227 -0
- volcenginesdkid/models/provider_options_for_create_identity_provider_o_auth_output.py +227 -0
- volcenginesdkid/models/provider_options_for_create_identity_provider_oidc_input.py +227 -0
- volcenginesdkid/models/provider_options_for_create_identity_provider_oidc_output.py +227 -0
- volcenginesdkid/models/provider_options_for_get_identity_provider_o_auth_output.py +227 -0
- volcenginesdkid/models/provider_options_for_get_identity_provider_oidc_output.py +227 -0
- volcenginesdkid/models/provider_options_for_list_identity_providers_o_auth_output.py +227 -0
- volcenginesdkid/models/provider_options_for_list_identity_providers_oidc_output.py +227 -0
- volcenginesdkid/models/provider_options_for_update_identity_provider_o_auth_input.py +227 -0
- volcenginesdkid/models/provider_options_for_update_identity_provider_o_auth_output.py +227 -0
- volcenginesdkid/models/provider_options_for_update_identity_provider_oidc_input.py +227 -0
- volcenginesdkid/models/provider_options_for_update_identity_provider_oidc_output.py +227 -0
- volcenginesdkid/models/reference_for_check_permission_input.py +149 -0
- volcenginesdkid/models/refresh_token_for_create_user_pool_client_output.py +227 -0
- volcenginesdkid/models/refresh_token_for_get_user_pool_client_output.py +227 -0
- volcenginesdkid/models/refresh_token_for_update_user_pool_client_input.py +227 -0
- volcenginesdkid/models/refresh_token_for_update_user_pool_client_output.py +227 -0
- volcenginesdkid/models/resource_for_check_permission_input.py +149 -0
- volcenginesdkid/models/resource_for_grant_permission_input.py +175 -0
- volcenginesdkid/models/update_api_key_credential_provider_request.py +202 -0
- volcenginesdkid/models/update_api_key_credential_provider_response.py +227 -0
- volcenginesdkid/models/update_identity_provider_o_auth_request.py +440 -0
- volcenginesdkid/models/update_identity_provider_o_auth_response.py +409 -0
- volcenginesdkid/models/update_identity_provider_oidc_request.py +388 -0
- volcenginesdkid/models/update_identity_provider_oidc_response.py +357 -0
- volcenginesdkid/models/update_inbound_auth_config_request.py +202 -0
- volcenginesdkid/models/update_inbound_auth_config_response.py +95 -0
- volcenginesdkid/models/update_namespace_request.py +149 -0
- volcenginesdkid/models/update_namespace_response.py +149 -0
- volcenginesdkid/models/update_oauth2_credential_provider_request.py +176 -0
- volcenginesdkid/models/update_oauth2_credential_provider_response.py +227 -0
- volcenginesdkid/models/update_user_pool_client_request.py +359 -0
- volcenginesdkid/models/update_user_pool_client_response.py +461 -0
- volcenginesdkid/models/update_user_pool_request.py +176 -0
- volcenginesdkid/models/update_user_pool_response.py +383 -0
- volcenginesdkid/models/update_user_request.py +411 -0
- volcenginesdkid/models/update_user_response.py +773 -0
- volcenginesdkid/models/update_workload_identity_request.py +202 -0
- volcenginesdkid/models/update_workload_identity_response.py +95 -0
- volcenginesdkid/models/update_workload_pool_request.py +149 -0
- volcenginesdkid/models/update_workload_pool_response.py +95 -0
- volcenginesdkid/models/user_for_create_users_input.py +383 -0
- volcenginesdkid/models/workload_identity_for_list_workload_identities_output.py +305 -0
- volcenginesdkid/models/workload_pool_for_list_workload_pools_output.py +253 -0
- volcenginesdklivesaas/__init__.py +3 -0
- volcenginesdklivesaas/models/__init__.py +3 -0
- volcenginesdklivesaas/models/auto_start_config_for_create_activity_apiv2_input.py +175 -0
- volcenginesdklivesaas/models/auto_start_config_for_get_activity_basic_config_api_output.py +175 -0
- volcenginesdklivesaas/models/auto_start_config_for_update_activity_basic_config_api_input.py +175 -0
- volcenginesdklivesaas/models/create_activity_apiv2_request.py +27 -1
- volcenginesdklivesaas/models/get_activity_basic_config_api_response.py +79 -1
- volcenginesdklivesaas/models/update_activity_basic_config_api_request.py +53 -1
- volcenginesdkvefaas/__init__.py +4 -0
- volcenginesdkvefaas/api/vefaas_api.py +194 -0
- volcenginesdkvefaas/models/__init__.py +4 -0
- volcenginesdkvefaas/models/enable_user_cr_vpc_tunnel_request.py +124 -0
- volcenginesdkvefaas/models/enable_user_cr_vpc_tunnel_response.py +149 -0
- volcenginesdkvefaas/models/query_user_cr_vpc_tunnel_request.py +124 -0
- volcenginesdkvefaas/models/query_user_cr_vpc_tunnel_response.py +123 -0
- volcenginesdkvke/models/scheduled_instance_policy_for_create_scaling_policy_input.py +27 -1
- volcenginesdkvke/models/scheduled_instance_policy_for_list_scaling_policies_output.py +27 -1
- volcenginesdkvke/models/scheduled_instance_policy_for_update_scaling_policy_input.py +27 -1
- volcenginesdkvod20250101/__init__.py +26 -0
- volcenginesdkvod20250101/api/vod20250101_api.py +888 -112
- volcenginesdkvod20250101/models/__init__.py +26 -0
- volcenginesdkvod20250101/models/create_ai_termbase_request.py +256 -0
- volcenginesdkvod20250101/models/create_ai_termbase_response.py +123 -0
- volcenginesdkvod20250101/models/delete_ai_term_item_request.py +177 -0
- volcenginesdkvod20250101/models/delete_ai_term_item_response.py +95 -0
- volcenginesdkvod20250101/models/delete_ai_termbase_request.py +151 -0
- volcenginesdkvod20250101/models/delete_ai_termbase_response.py +95 -0
- volcenginesdkvod20250101/models/get_ai_termbase_request.py +151 -0
- volcenginesdkvod20250101/models/get_ai_termbase_response.py +123 -0
- volcenginesdkvod20250101/models/list_ai_termbase_request.py +124 -0
- volcenginesdkvod20250101/models/list_ai_termbase_response.py +123 -0
- volcenginesdkvod20250101/models/process_config_for_submit_ai_translation_workflow_input.py +53 -1
- volcenginesdkvod20250101/models/process_config_for_update_ai_translation_project_config_input.py +149 -0
- volcenginesdkvod20250101/models/scenario_for_create_ai_termbase_input.py +95 -0
- volcenginesdkvod20250101/models/set_ai_term_item_request.py +177 -0
- volcenginesdkvod20250101/models/set_ai_term_item_response.py +95 -0
- volcenginesdkvod20250101/models/term_item_for_create_ai_termbase_output.py +149 -0
- volcenginesdkvod20250101/models/term_item_for_get_ai_termbase_output.py +149 -0
- volcenginesdkvod20250101/models/term_item_for_list_ai_termbase_output.py +149 -0
- volcenginesdkvod20250101/models/term_item_for_set_ai_term_item_input.py +149 -0
- volcenginesdkvod20250101/models/termbase_config_for_submit_ai_translation_workflow_input.py +123 -0
- volcenginesdkvod20250101/models/termbase_for_create_ai_termbase_output.py +279 -0
- volcenginesdkvod20250101/models/termbase_for_get_ai_termbase_output.py +279 -0
- volcenginesdkvod20250101/models/termbase_for_list_ai_termbase_output.py +279 -0
- volcenginesdkvod20250101/models/translation_config_for_submit_ai_translation_workflow_input.py +27 -1
- volcenginesdkvod20250101/models/update_ai_termbase_request.py +203 -0
- volcenginesdkvod20250101/models/update_ai_termbase_response.py +95 -0
- volcenginesdkvod20250101/models/update_ai_translation_project_config_request.py +204 -0
- volcenginesdkvod20250101/models/update_ai_translation_project_config_response.py +95 -0
- {volcengine_python_sdk-4.0.26.dist-info → volcengine_python_sdk-4.0.28.dist-info}/WHEEL +0 -0
- {volcengine_python_sdk-4.0.26.dist-info → volcengine_python_sdk-4.0.28.dist-info}/licenses/LICENSE.txt +0 -0
- {volcengine_python_sdk-4.0.26.dist-info → volcengine_python_sdk-4.0.28.dist-info}/licenses/NOTICE.md +0 -0
|
@@ -130,6 +130,103 @@ class VOD20250101Api(object):
|
|
|
130
130
|
_request_timeout=params.get('_request_timeout'),
|
|
131
131
|
collection_formats=collection_formats)
|
|
132
132
|
|
|
133
|
+
def create_ai_termbase(self, body, **kwargs): # noqa: E501
|
|
134
|
+
"""create_ai_termbase # noqa: E501
|
|
135
|
+
|
|
136
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
137
|
+
asynchronous HTTP request, please pass async_req=True
|
|
138
|
+
>>> thread = api.create_ai_termbase(body, async_req=True)
|
|
139
|
+
>>> result = thread.get()
|
|
140
|
+
|
|
141
|
+
:param async_req bool
|
|
142
|
+
:param CreateAITermbaseRequest body: (required)
|
|
143
|
+
:return: CreateAITermbaseResponse
|
|
144
|
+
If the method is called asynchronously,
|
|
145
|
+
returns the request thread.
|
|
146
|
+
"""
|
|
147
|
+
kwargs['_return_http_data_only'] = True
|
|
148
|
+
if kwargs.get('async_req'):
|
|
149
|
+
return self.create_ai_termbase_with_http_info(body, **kwargs) # noqa: E501
|
|
150
|
+
else:
|
|
151
|
+
(data) = self.create_ai_termbase_with_http_info(body, **kwargs) # noqa: E501
|
|
152
|
+
return data
|
|
153
|
+
|
|
154
|
+
def create_ai_termbase_with_http_info(self, body, **kwargs): # noqa: E501
|
|
155
|
+
"""create_ai_termbase # noqa: E501
|
|
156
|
+
|
|
157
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
158
|
+
asynchronous HTTP request, please pass async_req=True
|
|
159
|
+
>>> thread = api.create_ai_termbase_with_http_info(body, async_req=True)
|
|
160
|
+
>>> result = thread.get()
|
|
161
|
+
|
|
162
|
+
:param async_req bool
|
|
163
|
+
:param CreateAITermbaseRequest body: (required)
|
|
164
|
+
:return: CreateAITermbaseResponse
|
|
165
|
+
If the method is called asynchronously,
|
|
166
|
+
returns the request thread.
|
|
167
|
+
"""
|
|
168
|
+
|
|
169
|
+
all_params = ['body'] # noqa: E501
|
|
170
|
+
all_params.append('async_req')
|
|
171
|
+
all_params.append('_return_http_data_only')
|
|
172
|
+
all_params.append('_preload_content')
|
|
173
|
+
all_params.append('_request_timeout')
|
|
174
|
+
|
|
175
|
+
params = locals()
|
|
176
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
177
|
+
if key not in all_params:
|
|
178
|
+
raise TypeError(
|
|
179
|
+
"Got an unexpected keyword argument '%s'"
|
|
180
|
+
" to method create_ai_termbase" % key
|
|
181
|
+
)
|
|
182
|
+
params[key] = val
|
|
183
|
+
del params['kwargs']
|
|
184
|
+
# verify the required parameter 'body' is set
|
|
185
|
+
if self.api_client.client_side_validation and ('body' not in params or
|
|
186
|
+
params['body'] is None): # noqa: E501
|
|
187
|
+
raise ValueError("Missing the required parameter `body` when calling `create_ai_termbase`") # noqa: E501
|
|
188
|
+
|
|
189
|
+
collection_formats = {}
|
|
190
|
+
|
|
191
|
+
path_params = {}
|
|
192
|
+
|
|
193
|
+
query_params = []
|
|
194
|
+
|
|
195
|
+
header_params = {}
|
|
196
|
+
|
|
197
|
+
form_params = []
|
|
198
|
+
local_var_files = {}
|
|
199
|
+
|
|
200
|
+
body_params = None
|
|
201
|
+
if 'body' in params:
|
|
202
|
+
body_params = params['body']
|
|
203
|
+
# HTTP header `Accept`
|
|
204
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
205
|
+
['application/json']) # noqa: E501
|
|
206
|
+
|
|
207
|
+
# HTTP header `Content-Type`
|
|
208
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
209
|
+
['application/json']) # noqa: E501
|
|
210
|
+
|
|
211
|
+
# Authentication setting
|
|
212
|
+
auth_settings = ['volcengineSign'] # noqa: E501
|
|
213
|
+
|
|
214
|
+
return self.api_client.call_api(
|
|
215
|
+
'/CreateAITermbase/2025-01-01/vod/post/application_json/', 'POST',
|
|
216
|
+
path_params,
|
|
217
|
+
query_params,
|
|
218
|
+
header_params,
|
|
219
|
+
body=body_params,
|
|
220
|
+
post_params=form_params,
|
|
221
|
+
files=local_var_files,
|
|
222
|
+
response_type='CreateAITermbaseResponse', # noqa: E501
|
|
223
|
+
auth_settings=auth_settings,
|
|
224
|
+
async_req=params.get('async_req'),
|
|
225
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
226
|
+
_preload_content=params.get('_preload_content', True),
|
|
227
|
+
_request_timeout=params.get('_request_timeout'),
|
|
228
|
+
collection_formats=collection_formats)
|
|
229
|
+
|
|
133
230
|
def create_ai_translation_speaker(self, body, **kwargs): # noqa: E501
|
|
134
231
|
"""create_ai_translation_speaker # noqa: E501
|
|
135
232
|
|
|
@@ -421,38 +518,38 @@ class VOD20250101Api(object):
|
|
|
421
518
|
_request_timeout=params.get('_request_timeout'),
|
|
422
519
|
collection_formats=collection_formats)
|
|
423
520
|
|
|
424
|
-
def
|
|
425
|
-
"""
|
|
521
|
+
def delete_ai_term_item(self, body, **kwargs): # noqa: E501
|
|
522
|
+
"""delete_ai_term_item # noqa: E501
|
|
426
523
|
|
|
427
524
|
This method makes a synchronous HTTP request by default. To make an
|
|
428
525
|
asynchronous HTTP request, please pass async_req=True
|
|
429
|
-
>>> thread = api.
|
|
526
|
+
>>> thread = api.delete_ai_term_item(body, async_req=True)
|
|
430
527
|
>>> result = thread.get()
|
|
431
528
|
|
|
432
529
|
:param async_req bool
|
|
433
|
-
:param
|
|
434
|
-
:return:
|
|
530
|
+
:param DeleteAITermItemRequest body: (required)
|
|
531
|
+
:return: DeleteAITermItemResponse
|
|
435
532
|
If the method is called asynchronously,
|
|
436
533
|
returns the request thread.
|
|
437
534
|
"""
|
|
438
535
|
kwargs['_return_http_data_only'] = True
|
|
439
536
|
if kwargs.get('async_req'):
|
|
440
|
-
return self.
|
|
537
|
+
return self.delete_ai_term_item_with_http_info(body, **kwargs) # noqa: E501
|
|
441
538
|
else:
|
|
442
|
-
(data) = self.
|
|
539
|
+
(data) = self.delete_ai_term_item_with_http_info(body, **kwargs) # noqa: E501
|
|
443
540
|
return data
|
|
444
541
|
|
|
445
|
-
def
|
|
446
|
-
"""
|
|
542
|
+
def delete_ai_term_item_with_http_info(self, body, **kwargs): # noqa: E501
|
|
543
|
+
"""delete_ai_term_item # noqa: E501
|
|
447
544
|
|
|
448
545
|
This method makes a synchronous HTTP request by default. To make an
|
|
449
546
|
asynchronous HTTP request, please pass async_req=True
|
|
450
|
-
>>> thread = api.
|
|
547
|
+
>>> thread = api.delete_ai_term_item_with_http_info(body, async_req=True)
|
|
451
548
|
>>> result = thread.get()
|
|
452
549
|
|
|
453
550
|
:param async_req bool
|
|
454
|
-
:param
|
|
455
|
-
:return:
|
|
551
|
+
:param DeleteAITermItemRequest body: (required)
|
|
552
|
+
:return: DeleteAITermItemResponse
|
|
456
553
|
If the method is called asynchronously,
|
|
457
554
|
returns the request thread.
|
|
458
555
|
"""
|
|
@@ -468,14 +565,14 @@ class VOD20250101Api(object):
|
|
|
468
565
|
if key not in all_params:
|
|
469
566
|
raise TypeError(
|
|
470
567
|
"Got an unexpected keyword argument '%s'"
|
|
471
|
-
" to method
|
|
568
|
+
" to method delete_ai_term_item" % key
|
|
472
569
|
)
|
|
473
570
|
params[key] = val
|
|
474
571
|
del params['kwargs']
|
|
475
572
|
# verify the required parameter 'body' is set
|
|
476
573
|
if self.api_client.client_side_validation and ('body' not in params or
|
|
477
574
|
params['body'] is None): # noqa: E501
|
|
478
|
-
raise ValueError("Missing the required parameter `body` when calling `
|
|
575
|
+
raise ValueError("Missing the required parameter `body` when calling `delete_ai_term_item`") # noqa: E501
|
|
479
576
|
|
|
480
577
|
collection_formats = {}
|
|
481
578
|
|
|
@@ -503,14 +600,14 @@ class VOD20250101Api(object):
|
|
|
503
600
|
auth_settings = ['volcengineSign'] # noqa: E501
|
|
504
601
|
|
|
505
602
|
return self.api_client.call_api(
|
|
506
|
-
'/
|
|
603
|
+
'/DeleteAITermItem/2025-01-01/vod/post/application_json/', 'POST',
|
|
507
604
|
path_params,
|
|
508
605
|
query_params,
|
|
509
606
|
header_params,
|
|
510
607
|
body=body_params,
|
|
511
608
|
post_params=form_params,
|
|
512
609
|
files=local_var_files,
|
|
513
|
-
response_type='
|
|
610
|
+
response_type='DeleteAITermItemResponse', # noqa: E501
|
|
514
611
|
auth_settings=auth_settings,
|
|
515
612
|
async_req=params.get('async_req'),
|
|
516
613
|
_return_http_data_only=params.get('_return_http_data_only'),
|
|
@@ -518,38 +615,38 @@ class VOD20250101Api(object):
|
|
|
518
615
|
_request_timeout=params.get('_request_timeout'),
|
|
519
616
|
collection_formats=collection_formats)
|
|
520
617
|
|
|
521
|
-
def
|
|
522
|
-
"""
|
|
618
|
+
def delete_ai_termbase(self, body, **kwargs): # noqa: E501
|
|
619
|
+
"""delete_ai_termbase # noqa: E501
|
|
523
620
|
|
|
524
621
|
This method makes a synchronous HTTP request by default. To make an
|
|
525
622
|
asynchronous HTTP request, please pass async_req=True
|
|
526
|
-
>>> thread = api.
|
|
623
|
+
>>> thread = api.delete_ai_termbase(body, async_req=True)
|
|
527
624
|
>>> result = thread.get()
|
|
528
625
|
|
|
529
626
|
:param async_req bool
|
|
530
|
-
:param
|
|
531
|
-
:return:
|
|
627
|
+
:param DeleteAITermbaseRequest body: (required)
|
|
628
|
+
:return: DeleteAITermbaseResponse
|
|
532
629
|
If the method is called asynchronously,
|
|
533
630
|
returns the request thread.
|
|
534
631
|
"""
|
|
535
632
|
kwargs['_return_http_data_only'] = True
|
|
536
633
|
if kwargs.get('async_req'):
|
|
537
|
-
return self.
|
|
634
|
+
return self.delete_ai_termbase_with_http_info(body, **kwargs) # noqa: E501
|
|
538
635
|
else:
|
|
539
|
-
(data) = self.
|
|
636
|
+
(data) = self.delete_ai_termbase_with_http_info(body, **kwargs) # noqa: E501
|
|
540
637
|
return data
|
|
541
638
|
|
|
542
|
-
def
|
|
543
|
-
"""
|
|
639
|
+
def delete_ai_termbase_with_http_info(self, body, **kwargs): # noqa: E501
|
|
640
|
+
"""delete_ai_termbase # noqa: E501
|
|
544
641
|
|
|
545
642
|
This method makes a synchronous HTTP request by default. To make an
|
|
546
643
|
asynchronous HTTP request, please pass async_req=True
|
|
547
|
-
>>> thread = api.
|
|
644
|
+
>>> thread = api.delete_ai_termbase_with_http_info(body, async_req=True)
|
|
548
645
|
>>> result = thread.get()
|
|
549
646
|
|
|
550
647
|
:param async_req bool
|
|
551
|
-
:param
|
|
552
|
-
:return:
|
|
648
|
+
:param DeleteAITermbaseRequest body: (required)
|
|
649
|
+
:return: DeleteAITermbaseResponse
|
|
553
650
|
If the method is called asynchronously,
|
|
554
651
|
returns the request thread.
|
|
555
652
|
"""
|
|
@@ -565,14 +662,14 @@ class VOD20250101Api(object):
|
|
|
565
662
|
if key not in all_params:
|
|
566
663
|
raise TypeError(
|
|
567
664
|
"Got an unexpected keyword argument '%s'"
|
|
568
|
-
" to method
|
|
665
|
+
" to method delete_ai_termbase" % key
|
|
569
666
|
)
|
|
570
667
|
params[key] = val
|
|
571
668
|
del params['kwargs']
|
|
572
669
|
# verify the required parameter 'body' is set
|
|
573
670
|
if self.api_client.client_side_validation and ('body' not in params or
|
|
574
671
|
params['body'] is None): # noqa: E501
|
|
575
|
-
raise ValueError("Missing the required parameter `body` when calling `
|
|
672
|
+
raise ValueError("Missing the required parameter `body` when calling `delete_ai_termbase`") # noqa: E501
|
|
576
673
|
|
|
577
674
|
collection_formats = {}
|
|
578
675
|
|
|
@@ -600,14 +697,14 @@ class VOD20250101Api(object):
|
|
|
600
697
|
auth_settings = ['volcengineSign'] # noqa: E501
|
|
601
698
|
|
|
602
699
|
return self.api_client.call_api(
|
|
603
|
-
'/
|
|
700
|
+
'/DeleteAITermbase/2025-01-01/vod/post/application_json/', 'POST',
|
|
604
701
|
path_params,
|
|
605
702
|
query_params,
|
|
606
703
|
header_params,
|
|
607
704
|
body=body_params,
|
|
608
705
|
post_params=form_params,
|
|
609
706
|
files=local_var_files,
|
|
610
|
-
response_type='
|
|
707
|
+
response_type='DeleteAITermbaseResponse', # noqa: E501
|
|
611
708
|
auth_settings=auth_settings,
|
|
612
709
|
async_req=params.get('async_req'),
|
|
613
710
|
_return_http_data_only=params.get('_return_http_data_only'),
|
|
@@ -615,38 +712,38 @@ class VOD20250101Api(object):
|
|
|
615
712
|
_request_timeout=params.get('_request_timeout'),
|
|
616
713
|
collection_formats=collection_formats)
|
|
617
714
|
|
|
618
|
-
def
|
|
619
|
-
"""
|
|
715
|
+
def delete_ai_translation_speech(self, body, **kwargs): # noqa: E501
|
|
716
|
+
"""delete_ai_translation_speech # noqa: E501
|
|
620
717
|
|
|
621
718
|
This method makes a synchronous HTTP request by default. To make an
|
|
622
719
|
asynchronous HTTP request, please pass async_req=True
|
|
623
|
-
>>> thread = api.
|
|
720
|
+
>>> thread = api.delete_ai_translation_speech(body, async_req=True)
|
|
624
721
|
>>> result = thread.get()
|
|
625
722
|
|
|
626
723
|
:param async_req bool
|
|
627
|
-
:param
|
|
628
|
-
:return:
|
|
724
|
+
:param DeleteAITranslationSpeechRequest body: (required)
|
|
725
|
+
:return: DeleteAITranslationSpeechResponse
|
|
629
726
|
If the method is called asynchronously,
|
|
630
727
|
returns the request thread.
|
|
631
728
|
"""
|
|
632
729
|
kwargs['_return_http_data_only'] = True
|
|
633
730
|
if kwargs.get('async_req'):
|
|
634
|
-
return self.
|
|
731
|
+
return self.delete_ai_translation_speech_with_http_info(body, **kwargs) # noqa: E501
|
|
635
732
|
else:
|
|
636
|
-
(data) = self.
|
|
733
|
+
(data) = self.delete_ai_translation_speech_with_http_info(body, **kwargs) # noqa: E501
|
|
637
734
|
return data
|
|
638
735
|
|
|
639
|
-
def
|
|
640
|
-
"""
|
|
736
|
+
def delete_ai_translation_speech_with_http_info(self, body, **kwargs): # noqa: E501
|
|
737
|
+
"""delete_ai_translation_speech # noqa: E501
|
|
641
738
|
|
|
642
739
|
This method makes a synchronous HTTP request by default. To make an
|
|
643
740
|
asynchronous HTTP request, please pass async_req=True
|
|
644
|
-
>>> thread = api.
|
|
741
|
+
>>> thread = api.delete_ai_translation_speech_with_http_info(body, async_req=True)
|
|
645
742
|
>>> result = thread.get()
|
|
646
743
|
|
|
647
744
|
:param async_req bool
|
|
648
|
-
:param
|
|
649
|
-
:return:
|
|
745
|
+
:param DeleteAITranslationSpeechRequest body: (required)
|
|
746
|
+
:return: DeleteAITranslationSpeechResponse
|
|
650
747
|
If the method is called asynchronously,
|
|
651
748
|
returns the request thread.
|
|
652
749
|
"""
|
|
@@ -662,14 +759,14 @@ class VOD20250101Api(object):
|
|
|
662
759
|
if key not in all_params:
|
|
663
760
|
raise TypeError(
|
|
664
761
|
"Got an unexpected keyword argument '%s'"
|
|
665
|
-
" to method
|
|
762
|
+
" to method delete_ai_translation_speech" % key
|
|
666
763
|
)
|
|
667
764
|
params[key] = val
|
|
668
765
|
del params['kwargs']
|
|
669
766
|
# verify the required parameter 'body' is set
|
|
670
767
|
if self.api_client.client_side_validation and ('body' not in params or
|
|
671
768
|
params['body'] is None): # noqa: E501
|
|
672
|
-
raise ValueError("Missing the required parameter `body` when calling `
|
|
769
|
+
raise ValueError("Missing the required parameter `body` when calling `delete_ai_translation_speech`") # noqa: E501
|
|
673
770
|
|
|
674
771
|
collection_formats = {}
|
|
675
772
|
|
|
@@ -697,14 +794,14 @@ class VOD20250101Api(object):
|
|
|
697
794
|
auth_settings = ['volcengineSign'] # noqa: E501
|
|
698
795
|
|
|
699
796
|
return self.api_client.call_api(
|
|
700
|
-
'/
|
|
797
|
+
'/DeleteAITranslationSpeech/2025-01-01/vod/post/application_json/', 'POST',
|
|
701
798
|
path_params,
|
|
702
799
|
query_params,
|
|
703
800
|
header_params,
|
|
704
801
|
body=body_params,
|
|
705
802
|
post_params=form_params,
|
|
706
803
|
files=local_var_files,
|
|
707
|
-
response_type='
|
|
804
|
+
response_type='DeleteAITranslationSpeechResponse', # noqa: E501
|
|
708
805
|
auth_settings=auth_settings,
|
|
709
806
|
async_req=params.get('async_req'),
|
|
710
807
|
_return_http_data_only=params.get('_return_http_data_only'),
|
|
@@ -712,38 +809,38 @@ class VOD20250101Api(object):
|
|
|
712
809
|
_request_timeout=params.get('_request_timeout'),
|
|
713
810
|
collection_formats=collection_formats)
|
|
714
811
|
|
|
715
|
-
def
|
|
716
|
-
"""
|
|
812
|
+
def generate_ai_translation_utterance_audio(self, body, **kwargs): # noqa: E501
|
|
813
|
+
"""generate_ai_translation_utterance_audio # noqa: E501
|
|
717
814
|
|
|
718
815
|
This method makes a synchronous HTTP request by default. To make an
|
|
719
816
|
asynchronous HTTP request, please pass async_req=True
|
|
720
|
-
>>> thread = api.
|
|
817
|
+
>>> thread = api.generate_ai_translation_utterance_audio(body, async_req=True)
|
|
721
818
|
>>> result = thread.get()
|
|
722
819
|
|
|
723
820
|
:param async_req bool
|
|
724
|
-
:param
|
|
725
|
-
:return:
|
|
821
|
+
:param GenerateAITranslationUtteranceAudioRequest body: (required)
|
|
822
|
+
:return: GenerateAITranslationUtteranceAudioResponse
|
|
726
823
|
If the method is called asynchronously,
|
|
727
824
|
returns the request thread.
|
|
728
825
|
"""
|
|
729
826
|
kwargs['_return_http_data_only'] = True
|
|
730
827
|
if kwargs.get('async_req'):
|
|
731
|
-
return self.
|
|
828
|
+
return self.generate_ai_translation_utterance_audio_with_http_info(body, **kwargs) # noqa: E501
|
|
732
829
|
else:
|
|
733
|
-
(data) = self.
|
|
830
|
+
(data) = self.generate_ai_translation_utterance_audio_with_http_info(body, **kwargs) # noqa: E501
|
|
734
831
|
return data
|
|
735
832
|
|
|
736
|
-
def
|
|
737
|
-
"""
|
|
833
|
+
def generate_ai_translation_utterance_audio_with_http_info(self, body, **kwargs): # noqa: E501
|
|
834
|
+
"""generate_ai_translation_utterance_audio # noqa: E501
|
|
738
835
|
|
|
739
836
|
This method makes a synchronous HTTP request by default. To make an
|
|
740
837
|
asynchronous HTTP request, please pass async_req=True
|
|
741
|
-
>>> thread = api.
|
|
838
|
+
>>> thread = api.generate_ai_translation_utterance_audio_with_http_info(body, async_req=True)
|
|
742
839
|
>>> result = thread.get()
|
|
743
840
|
|
|
744
841
|
:param async_req bool
|
|
745
|
-
:param
|
|
746
|
-
:return:
|
|
842
|
+
:param GenerateAITranslationUtteranceAudioRequest body: (required)
|
|
843
|
+
:return: GenerateAITranslationUtteranceAudioResponse
|
|
747
844
|
If the method is called asynchronously,
|
|
748
845
|
returns the request thread.
|
|
749
846
|
"""
|
|
@@ -759,14 +856,14 @@ class VOD20250101Api(object):
|
|
|
759
856
|
if key not in all_params:
|
|
760
857
|
raise TypeError(
|
|
761
858
|
"Got an unexpected keyword argument '%s'"
|
|
762
|
-
" to method
|
|
859
|
+
" to method generate_ai_translation_utterance_audio" % key
|
|
763
860
|
)
|
|
764
861
|
params[key] = val
|
|
765
862
|
del params['kwargs']
|
|
766
863
|
# verify the required parameter 'body' is set
|
|
767
864
|
if self.api_client.client_side_validation and ('body' not in params or
|
|
768
865
|
params['body'] is None): # noqa: E501
|
|
769
|
-
raise ValueError("Missing the required parameter `body` when calling `
|
|
866
|
+
raise ValueError("Missing the required parameter `body` when calling `generate_ai_translation_utterance_audio`") # noqa: E501
|
|
770
867
|
|
|
771
868
|
collection_formats = {}
|
|
772
869
|
|
|
@@ -788,20 +885,20 @@ class VOD20250101Api(object):
|
|
|
788
885
|
|
|
789
886
|
# HTTP header `Content-Type`
|
|
790
887
|
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
791
|
-
['
|
|
888
|
+
['application/json']) # noqa: E501
|
|
792
889
|
|
|
793
890
|
# Authentication setting
|
|
794
891
|
auth_settings = ['volcengineSign'] # noqa: E501
|
|
795
892
|
|
|
796
893
|
return self.api_client.call_api(
|
|
797
|
-
'/
|
|
894
|
+
'/GenerateAITranslationUtteranceAudio/2025-01-01/vod/post/application_json/', 'POST',
|
|
798
895
|
path_params,
|
|
799
896
|
query_params,
|
|
800
897
|
header_params,
|
|
801
898
|
body=body_params,
|
|
802
899
|
post_params=form_params,
|
|
803
900
|
files=local_var_files,
|
|
804
|
-
response_type='
|
|
901
|
+
response_type='GenerateAITranslationUtteranceAudioResponse', # noqa: E501
|
|
805
902
|
auth_settings=auth_settings,
|
|
806
903
|
async_req=params.get('async_req'),
|
|
807
904
|
_return_http_data_only=params.get('_return_http_data_only'),
|
|
@@ -809,38 +906,38 @@ class VOD20250101Api(object):
|
|
|
809
906
|
_request_timeout=params.get('_request_timeout'),
|
|
810
907
|
collection_formats=collection_formats)
|
|
811
908
|
|
|
812
|
-
def
|
|
813
|
-
"""
|
|
909
|
+
def get_ai_termbase(self, body, **kwargs): # noqa: E501
|
|
910
|
+
"""get_ai_termbase # noqa: E501
|
|
814
911
|
|
|
815
912
|
This method makes a synchronous HTTP request by default. To make an
|
|
816
913
|
asynchronous HTTP request, please pass async_req=True
|
|
817
|
-
>>> thread = api.
|
|
914
|
+
>>> thread = api.get_ai_termbase(body, async_req=True)
|
|
818
915
|
>>> result = thread.get()
|
|
819
916
|
|
|
820
917
|
:param async_req bool
|
|
821
|
-
:param
|
|
822
|
-
:return:
|
|
918
|
+
:param GetAITermbaseRequest body: (required)
|
|
919
|
+
:return: GetAITermbaseResponse
|
|
823
920
|
If the method is called asynchronously,
|
|
824
921
|
returns the request thread.
|
|
825
922
|
"""
|
|
826
923
|
kwargs['_return_http_data_only'] = True
|
|
827
924
|
if kwargs.get('async_req'):
|
|
828
|
-
return self.
|
|
925
|
+
return self.get_ai_termbase_with_http_info(body, **kwargs) # noqa: E501
|
|
829
926
|
else:
|
|
830
|
-
(data) = self.
|
|
927
|
+
(data) = self.get_ai_termbase_with_http_info(body, **kwargs) # noqa: E501
|
|
831
928
|
return data
|
|
832
929
|
|
|
833
|
-
def
|
|
834
|
-
"""
|
|
930
|
+
def get_ai_termbase_with_http_info(self, body, **kwargs): # noqa: E501
|
|
931
|
+
"""get_ai_termbase # noqa: E501
|
|
835
932
|
|
|
836
933
|
This method makes a synchronous HTTP request by default. To make an
|
|
837
934
|
asynchronous HTTP request, please pass async_req=True
|
|
838
|
-
>>> thread = api.
|
|
935
|
+
>>> thread = api.get_ai_termbase_with_http_info(body, async_req=True)
|
|
839
936
|
>>> result = thread.get()
|
|
840
937
|
|
|
841
938
|
:param async_req bool
|
|
842
|
-
:param
|
|
843
|
-
:return:
|
|
939
|
+
:param GetAITermbaseRequest body: (required)
|
|
940
|
+
:return: GetAITermbaseResponse
|
|
844
941
|
If the method is called asynchronously,
|
|
845
942
|
returns the request thread.
|
|
846
943
|
"""
|
|
@@ -856,14 +953,14 @@ class VOD20250101Api(object):
|
|
|
856
953
|
if key not in all_params:
|
|
857
954
|
raise TypeError(
|
|
858
955
|
"Got an unexpected keyword argument '%s'"
|
|
859
|
-
" to method
|
|
956
|
+
" to method get_ai_termbase" % key
|
|
860
957
|
)
|
|
861
958
|
params[key] = val
|
|
862
959
|
del params['kwargs']
|
|
863
960
|
# verify the required parameter 'body' is set
|
|
864
961
|
if self.api_client.client_side_validation and ('body' not in params or
|
|
865
962
|
params['body'] is None): # noqa: E501
|
|
866
|
-
raise ValueError("Missing the required parameter `body` when calling `
|
|
963
|
+
raise ValueError("Missing the required parameter `body` when calling `get_ai_termbase`") # noqa: E501
|
|
867
964
|
|
|
868
965
|
collection_formats = {}
|
|
869
966
|
|
|
@@ -891,14 +988,14 @@ class VOD20250101Api(object):
|
|
|
891
988
|
auth_settings = ['volcengineSign'] # noqa: E501
|
|
892
989
|
|
|
893
990
|
return self.api_client.call_api(
|
|
894
|
-
'/
|
|
991
|
+
'/GetAITermbase/2025-01-01/vod/get/text_plain/', 'GET',
|
|
895
992
|
path_params,
|
|
896
993
|
query_params,
|
|
897
994
|
header_params,
|
|
898
995
|
body=body_params,
|
|
899
996
|
post_params=form_params,
|
|
900
997
|
files=local_var_files,
|
|
901
|
-
response_type='
|
|
998
|
+
response_type='GetAITermbaseResponse', # noqa: E501
|
|
902
999
|
auth_settings=auth_settings,
|
|
903
1000
|
async_req=params.get('async_req'),
|
|
904
1001
|
_return_http_data_only=params.get('_return_http_data_only'),
|
|
@@ -906,38 +1003,38 @@ class VOD20250101Api(object):
|
|
|
906
1003
|
_request_timeout=params.get('_request_timeout'),
|
|
907
1004
|
collection_formats=collection_formats)
|
|
908
1005
|
|
|
909
|
-
def
|
|
910
|
-
"""
|
|
1006
|
+
def get_ai_translation_project(self, body, **kwargs): # noqa: E501
|
|
1007
|
+
"""get_ai_translation_project # noqa: E501
|
|
911
1008
|
|
|
912
1009
|
This method makes a synchronous HTTP request by default. To make an
|
|
913
1010
|
asynchronous HTTP request, please pass async_req=True
|
|
914
|
-
>>> thread = api.
|
|
1011
|
+
>>> thread = api.get_ai_translation_project(body, async_req=True)
|
|
915
1012
|
>>> result = thread.get()
|
|
916
1013
|
|
|
917
1014
|
:param async_req bool
|
|
918
|
-
:param
|
|
919
|
-
:return:
|
|
1015
|
+
:param GetAITranslationProjectRequest body: (required)
|
|
1016
|
+
:return: GetAITranslationProjectResponse
|
|
920
1017
|
If the method is called asynchronously,
|
|
921
1018
|
returns the request thread.
|
|
922
1019
|
"""
|
|
923
1020
|
kwargs['_return_http_data_only'] = True
|
|
924
1021
|
if kwargs.get('async_req'):
|
|
925
|
-
return self.
|
|
1022
|
+
return self.get_ai_translation_project_with_http_info(body, **kwargs) # noqa: E501
|
|
926
1023
|
else:
|
|
927
|
-
(data) = self.
|
|
1024
|
+
(data) = self.get_ai_translation_project_with_http_info(body, **kwargs) # noqa: E501
|
|
928
1025
|
return data
|
|
929
1026
|
|
|
930
|
-
def
|
|
931
|
-
"""
|
|
1027
|
+
def get_ai_translation_project_with_http_info(self, body, **kwargs): # noqa: E501
|
|
1028
|
+
"""get_ai_translation_project # noqa: E501
|
|
932
1029
|
|
|
933
1030
|
This method makes a synchronous HTTP request by default. To make an
|
|
934
1031
|
asynchronous HTTP request, please pass async_req=True
|
|
935
|
-
>>> thread = api.
|
|
1032
|
+
>>> thread = api.get_ai_translation_project_with_http_info(body, async_req=True)
|
|
936
1033
|
>>> result = thread.get()
|
|
937
1034
|
|
|
938
1035
|
:param async_req bool
|
|
939
|
-
:param
|
|
940
|
-
:return:
|
|
1036
|
+
:param GetAITranslationProjectRequest body: (required)
|
|
1037
|
+
:return: GetAITranslationProjectResponse
|
|
941
1038
|
If the method is called asynchronously,
|
|
942
1039
|
returns the request thread.
|
|
943
1040
|
"""
|
|
@@ -953,14 +1050,14 @@ class VOD20250101Api(object):
|
|
|
953
1050
|
if key not in all_params:
|
|
954
1051
|
raise TypeError(
|
|
955
1052
|
"Got an unexpected keyword argument '%s'"
|
|
956
|
-
" to method
|
|
1053
|
+
" to method get_ai_translation_project" % key
|
|
957
1054
|
)
|
|
958
1055
|
params[key] = val
|
|
959
1056
|
del params['kwargs']
|
|
960
1057
|
# verify the required parameter 'body' is set
|
|
961
1058
|
if self.api_client.client_side_validation and ('body' not in params or
|
|
962
1059
|
params['body'] is None): # noqa: E501
|
|
963
|
-
raise ValueError("Missing the required parameter `body` when calling `
|
|
1060
|
+
raise ValueError("Missing the required parameter `body` when calling `get_ai_translation_project`") # noqa: E501
|
|
964
1061
|
|
|
965
1062
|
collection_formats = {}
|
|
966
1063
|
|
|
@@ -982,20 +1079,20 @@ class VOD20250101Api(object):
|
|
|
982
1079
|
|
|
983
1080
|
# HTTP header `Content-Type`
|
|
984
1081
|
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
985
|
-
['
|
|
1082
|
+
['application/json']) # noqa: E501
|
|
986
1083
|
|
|
987
1084
|
# Authentication setting
|
|
988
1085
|
auth_settings = ['volcengineSign'] # noqa: E501
|
|
989
1086
|
|
|
990
1087
|
return self.api_client.call_api(
|
|
991
|
-
'/
|
|
1088
|
+
'/GetAITranslationProject/2025-01-01/vod/post/application_json/', 'POST',
|
|
992
1089
|
path_params,
|
|
993
1090
|
query_params,
|
|
994
1091
|
header_params,
|
|
995
1092
|
body=body_params,
|
|
996
1093
|
post_params=form_params,
|
|
997
1094
|
files=local_var_files,
|
|
998
|
-
response_type='
|
|
1095
|
+
response_type='GetAITranslationProjectResponse', # noqa: E501
|
|
999
1096
|
auth_settings=auth_settings,
|
|
1000
1097
|
async_req=params.get('async_req'),
|
|
1001
1098
|
_return_http_data_only=params.get('_return_http_data_only'),
|
|
@@ -1003,38 +1100,38 @@ class VOD20250101Api(object):
|
|
|
1003
1100
|
_request_timeout=params.get('_request_timeout'),
|
|
1004
1101
|
collection_formats=collection_formats)
|
|
1005
1102
|
|
|
1006
|
-
def
|
|
1007
|
-
"""
|
|
1103
|
+
def get_execution(self, body, **kwargs): # noqa: E501
|
|
1104
|
+
"""get_execution # noqa: E501
|
|
1008
1105
|
|
|
1009
1106
|
This method makes a synchronous HTTP request by default. To make an
|
|
1010
1107
|
asynchronous HTTP request, please pass async_req=True
|
|
1011
|
-
>>> thread = api.
|
|
1108
|
+
>>> thread = api.get_execution(body, async_req=True)
|
|
1012
1109
|
>>> result = thread.get()
|
|
1013
1110
|
|
|
1014
1111
|
:param async_req bool
|
|
1015
|
-
:param
|
|
1016
|
-
:return:
|
|
1112
|
+
:param GetExecutionRequest body: (required)
|
|
1113
|
+
:return: GetExecutionResponse
|
|
1017
1114
|
If the method is called asynchronously,
|
|
1018
1115
|
returns the request thread.
|
|
1019
1116
|
"""
|
|
1020
1117
|
kwargs['_return_http_data_only'] = True
|
|
1021
1118
|
if kwargs.get('async_req'):
|
|
1022
|
-
return self.
|
|
1119
|
+
return self.get_execution_with_http_info(body, **kwargs) # noqa: E501
|
|
1023
1120
|
else:
|
|
1024
|
-
(data) = self.
|
|
1121
|
+
(data) = self.get_execution_with_http_info(body, **kwargs) # noqa: E501
|
|
1025
1122
|
return data
|
|
1026
1123
|
|
|
1027
|
-
def
|
|
1028
|
-
"""
|
|
1124
|
+
def get_execution_with_http_info(self, body, **kwargs): # noqa: E501
|
|
1125
|
+
"""get_execution # noqa: E501
|
|
1029
1126
|
|
|
1030
1127
|
This method makes a synchronous HTTP request by default. To make an
|
|
1031
1128
|
asynchronous HTTP request, please pass async_req=True
|
|
1032
|
-
>>> thread = api.
|
|
1129
|
+
>>> thread = api.get_execution_with_http_info(body, async_req=True)
|
|
1033
1130
|
>>> result = thread.get()
|
|
1034
1131
|
|
|
1035
1132
|
:param async_req bool
|
|
1036
|
-
:param
|
|
1037
|
-
:return:
|
|
1133
|
+
:param GetExecutionRequest body: (required)
|
|
1134
|
+
:return: GetExecutionResponse
|
|
1038
1135
|
If the method is called asynchronously,
|
|
1039
1136
|
returns the request thread.
|
|
1040
1137
|
"""
|
|
@@ -1050,14 +1147,402 @@ class VOD20250101Api(object):
|
|
|
1050
1147
|
if key not in all_params:
|
|
1051
1148
|
raise TypeError(
|
|
1052
1149
|
"Got an unexpected keyword argument '%s'"
|
|
1053
|
-
" to method
|
|
1150
|
+
" to method get_execution" % key
|
|
1054
1151
|
)
|
|
1055
1152
|
params[key] = val
|
|
1056
1153
|
del params['kwargs']
|
|
1057
1154
|
# verify the required parameter 'body' is set
|
|
1058
1155
|
if self.api_client.client_side_validation and ('body' not in params or
|
|
1059
1156
|
params['body'] is None): # noqa: E501
|
|
1060
|
-
raise ValueError("Missing the required parameter `body` when calling `
|
|
1157
|
+
raise ValueError("Missing the required parameter `body` when calling `get_execution`") # noqa: E501
|
|
1158
|
+
|
|
1159
|
+
collection_formats = {}
|
|
1160
|
+
|
|
1161
|
+
path_params = {}
|
|
1162
|
+
|
|
1163
|
+
query_params = []
|
|
1164
|
+
|
|
1165
|
+
header_params = {}
|
|
1166
|
+
|
|
1167
|
+
form_params = []
|
|
1168
|
+
local_var_files = {}
|
|
1169
|
+
|
|
1170
|
+
body_params = None
|
|
1171
|
+
if 'body' in params:
|
|
1172
|
+
body_params = params['body']
|
|
1173
|
+
# HTTP header `Accept`
|
|
1174
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
1175
|
+
['application/json']) # noqa: E501
|
|
1176
|
+
|
|
1177
|
+
# HTTP header `Content-Type`
|
|
1178
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
1179
|
+
['text/plain']) # noqa: E501
|
|
1180
|
+
|
|
1181
|
+
# Authentication setting
|
|
1182
|
+
auth_settings = ['volcengineSign'] # noqa: E501
|
|
1183
|
+
|
|
1184
|
+
return self.api_client.call_api(
|
|
1185
|
+
'/GetExecution/2025-01-01/vod/get/text_plain/', 'GET',
|
|
1186
|
+
path_params,
|
|
1187
|
+
query_params,
|
|
1188
|
+
header_params,
|
|
1189
|
+
body=body_params,
|
|
1190
|
+
post_params=form_params,
|
|
1191
|
+
files=local_var_files,
|
|
1192
|
+
response_type='GetExecutionResponse', # noqa: E501
|
|
1193
|
+
auth_settings=auth_settings,
|
|
1194
|
+
async_req=params.get('async_req'),
|
|
1195
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
1196
|
+
_preload_content=params.get('_preload_content', True),
|
|
1197
|
+
_request_timeout=params.get('_request_timeout'),
|
|
1198
|
+
collection_formats=collection_formats)
|
|
1199
|
+
|
|
1200
|
+
def list_ai_termbase(self, body, **kwargs): # noqa: E501
|
|
1201
|
+
"""list_ai_termbase # noqa: E501
|
|
1202
|
+
|
|
1203
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1204
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1205
|
+
>>> thread = api.list_ai_termbase(body, async_req=True)
|
|
1206
|
+
>>> result = thread.get()
|
|
1207
|
+
|
|
1208
|
+
:param async_req bool
|
|
1209
|
+
:param ListAITermbaseRequest body: (required)
|
|
1210
|
+
:return: ListAITermbaseResponse
|
|
1211
|
+
If the method is called asynchronously,
|
|
1212
|
+
returns the request thread.
|
|
1213
|
+
"""
|
|
1214
|
+
kwargs['_return_http_data_only'] = True
|
|
1215
|
+
if kwargs.get('async_req'):
|
|
1216
|
+
return self.list_ai_termbase_with_http_info(body, **kwargs) # noqa: E501
|
|
1217
|
+
else:
|
|
1218
|
+
(data) = self.list_ai_termbase_with_http_info(body, **kwargs) # noqa: E501
|
|
1219
|
+
return data
|
|
1220
|
+
|
|
1221
|
+
def list_ai_termbase_with_http_info(self, body, **kwargs): # noqa: E501
|
|
1222
|
+
"""list_ai_termbase # noqa: E501
|
|
1223
|
+
|
|
1224
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1225
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1226
|
+
>>> thread = api.list_ai_termbase_with_http_info(body, async_req=True)
|
|
1227
|
+
>>> result = thread.get()
|
|
1228
|
+
|
|
1229
|
+
:param async_req bool
|
|
1230
|
+
:param ListAITermbaseRequest body: (required)
|
|
1231
|
+
:return: ListAITermbaseResponse
|
|
1232
|
+
If the method is called asynchronously,
|
|
1233
|
+
returns the request thread.
|
|
1234
|
+
"""
|
|
1235
|
+
|
|
1236
|
+
all_params = ['body'] # noqa: E501
|
|
1237
|
+
all_params.append('async_req')
|
|
1238
|
+
all_params.append('_return_http_data_only')
|
|
1239
|
+
all_params.append('_preload_content')
|
|
1240
|
+
all_params.append('_request_timeout')
|
|
1241
|
+
|
|
1242
|
+
params = locals()
|
|
1243
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
1244
|
+
if key not in all_params:
|
|
1245
|
+
raise TypeError(
|
|
1246
|
+
"Got an unexpected keyword argument '%s'"
|
|
1247
|
+
" to method list_ai_termbase" % key
|
|
1248
|
+
)
|
|
1249
|
+
params[key] = val
|
|
1250
|
+
del params['kwargs']
|
|
1251
|
+
# verify the required parameter 'body' is set
|
|
1252
|
+
if self.api_client.client_side_validation and ('body' not in params or
|
|
1253
|
+
params['body'] is None): # noqa: E501
|
|
1254
|
+
raise ValueError("Missing the required parameter `body` when calling `list_ai_termbase`") # noqa: E501
|
|
1255
|
+
|
|
1256
|
+
collection_formats = {}
|
|
1257
|
+
|
|
1258
|
+
path_params = {}
|
|
1259
|
+
|
|
1260
|
+
query_params = []
|
|
1261
|
+
|
|
1262
|
+
header_params = {}
|
|
1263
|
+
|
|
1264
|
+
form_params = []
|
|
1265
|
+
local_var_files = {}
|
|
1266
|
+
|
|
1267
|
+
body_params = None
|
|
1268
|
+
if 'body' in params:
|
|
1269
|
+
body_params = params['body']
|
|
1270
|
+
# HTTP header `Accept`
|
|
1271
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
1272
|
+
['application/json']) # noqa: E501
|
|
1273
|
+
|
|
1274
|
+
# HTTP header `Content-Type`
|
|
1275
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
1276
|
+
['text/plain']) # noqa: E501
|
|
1277
|
+
|
|
1278
|
+
# Authentication setting
|
|
1279
|
+
auth_settings = ['volcengineSign'] # noqa: E501
|
|
1280
|
+
|
|
1281
|
+
return self.api_client.call_api(
|
|
1282
|
+
'/ListAITermbase/2025-01-01/vod/get/text_plain/', 'GET',
|
|
1283
|
+
path_params,
|
|
1284
|
+
query_params,
|
|
1285
|
+
header_params,
|
|
1286
|
+
body=body_params,
|
|
1287
|
+
post_params=form_params,
|
|
1288
|
+
files=local_var_files,
|
|
1289
|
+
response_type='ListAITermbaseResponse', # noqa: E501
|
|
1290
|
+
auth_settings=auth_settings,
|
|
1291
|
+
async_req=params.get('async_req'),
|
|
1292
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
1293
|
+
_preload_content=params.get('_preload_content', True),
|
|
1294
|
+
_request_timeout=params.get('_request_timeout'),
|
|
1295
|
+
collection_formats=collection_formats)
|
|
1296
|
+
|
|
1297
|
+
def list_ai_translation_project(self, body, **kwargs): # noqa: E501
|
|
1298
|
+
"""list_ai_translation_project # noqa: E501
|
|
1299
|
+
|
|
1300
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1301
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1302
|
+
>>> thread = api.list_ai_translation_project(body, async_req=True)
|
|
1303
|
+
>>> result = thread.get()
|
|
1304
|
+
|
|
1305
|
+
:param async_req bool
|
|
1306
|
+
:param ListAITranslationProjectRequest body: (required)
|
|
1307
|
+
:return: ListAITranslationProjectResponse
|
|
1308
|
+
If the method is called asynchronously,
|
|
1309
|
+
returns the request thread.
|
|
1310
|
+
"""
|
|
1311
|
+
kwargs['_return_http_data_only'] = True
|
|
1312
|
+
if kwargs.get('async_req'):
|
|
1313
|
+
return self.list_ai_translation_project_with_http_info(body, **kwargs) # noqa: E501
|
|
1314
|
+
else:
|
|
1315
|
+
(data) = self.list_ai_translation_project_with_http_info(body, **kwargs) # noqa: E501
|
|
1316
|
+
return data
|
|
1317
|
+
|
|
1318
|
+
def list_ai_translation_project_with_http_info(self, body, **kwargs): # noqa: E501
|
|
1319
|
+
"""list_ai_translation_project # noqa: E501
|
|
1320
|
+
|
|
1321
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1322
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1323
|
+
>>> thread = api.list_ai_translation_project_with_http_info(body, async_req=True)
|
|
1324
|
+
>>> result = thread.get()
|
|
1325
|
+
|
|
1326
|
+
:param async_req bool
|
|
1327
|
+
:param ListAITranslationProjectRequest body: (required)
|
|
1328
|
+
:return: ListAITranslationProjectResponse
|
|
1329
|
+
If the method is called asynchronously,
|
|
1330
|
+
returns the request thread.
|
|
1331
|
+
"""
|
|
1332
|
+
|
|
1333
|
+
all_params = ['body'] # noqa: E501
|
|
1334
|
+
all_params.append('async_req')
|
|
1335
|
+
all_params.append('_return_http_data_only')
|
|
1336
|
+
all_params.append('_preload_content')
|
|
1337
|
+
all_params.append('_request_timeout')
|
|
1338
|
+
|
|
1339
|
+
params = locals()
|
|
1340
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
1341
|
+
if key not in all_params:
|
|
1342
|
+
raise TypeError(
|
|
1343
|
+
"Got an unexpected keyword argument '%s'"
|
|
1344
|
+
" to method list_ai_translation_project" % key
|
|
1345
|
+
)
|
|
1346
|
+
params[key] = val
|
|
1347
|
+
del params['kwargs']
|
|
1348
|
+
# verify the required parameter 'body' is set
|
|
1349
|
+
if self.api_client.client_side_validation and ('body' not in params or
|
|
1350
|
+
params['body'] is None): # noqa: E501
|
|
1351
|
+
raise ValueError("Missing the required parameter `body` when calling `list_ai_translation_project`") # noqa: E501
|
|
1352
|
+
|
|
1353
|
+
collection_formats = {}
|
|
1354
|
+
|
|
1355
|
+
path_params = {}
|
|
1356
|
+
|
|
1357
|
+
query_params = []
|
|
1358
|
+
|
|
1359
|
+
header_params = {}
|
|
1360
|
+
|
|
1361
|
+
form_params = []
|
|
1362
|
+
local_var_files = {}
|
|
1363
|
+
|
|
1364
|
+
body_params = None
|
|
1365
|
+
if 'body' in params:
|
|
1366
|
+
body_params = params['body']
|
|
1367
|
+
# HTTP header `Accept`
|
|
1368
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
1369
|
+
['application/json']) # noqa: E501
|
|
1370
|
+
|
|
1371
|
+
# HTTP header `Content-Type`
|
|
1372
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
1373
|
+
['text/plain']) # noqa: E501
|
|
1374
|
+
|
|
1375
|
+
# Authentication setting
|
|
1376
|
+
auth_settings = ['volcengineSign'] # noqa: E501
|
|
1377
|
+
|
|
1378
|
+
return self.api_client.call_api(
|
|
1379
|
+
'/ListAITranslationProject/2025-01-01/vod/get/text_plain/', 'GET',
|
|
1380
|
+
path_params,
|
|
1381
|
+
query_params,
|
|
1382
|
+
header_params,
|
|
1383
|
+
body=body_params,
|
|
1384
|
+
post_params=form_params,
|
|
1385
|
+
files=local_var_files,
|
|
1386
|
+
response_type='ListAITranslationProjectResponse', # noqa: E501
|
|
1387
|
+
auth_settings=auth_settings,
|
|
1388
|
+
async_req=params.get('async_req'),
|
|
1389
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
1390
|
+
_preload_content=params.get('_preload_content', True),
|
|
1391
|
+
_request_timeout=params.get('_request_timeout'),
|
|
1392
|
+
collection_formats=collection_formats)
|
|
1393
|
+
|
|
1394
|
+
def list_ai_translation_speech(self, body, **kwargs): # noqa: E501
|
|
1395
|
+
"""list_ai_translation_speech # noqa: E501
|
|
1396
|
+
|
|
1397
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1398
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1399
|
+
>>> thread = api.list_ai_translation_speech(body, async_req=True)
|
|
1400
|
+
>>> result = thread.get()
|
|
1401
|
+
|
|
1402
|
+
:param async_req bool
|
|
1403
|
+
:param ListAITranslationSpeechRequest body: (required)
|
|
1404
|
+
:return: ListAITranslationSpeechResponse
|
|
1405
|
+
If the method is called asynchronously,
|
|
1406
|
+
returns the request thread.
|
|
1407
|
+
"""
|
|
1408
|
+
kwargs['_return_http_data_only'] = True
|
|
1409
|
+
if kwargs.get('async_req'):
|
|
1410
|
+
return self.list_ai_translation_speech_with_http_info(body, **kwargs) # noqa: E501
|
|
1411
|
+
else:
|
|
1412
|
+
(data) = self.list_ai_translation_speech_with_http_info(body, **kwargs) # noqa: E501
|
|
1413
|
+
return data
|
|
1414
|
+
|
|
1415
|
+
def list_ai_translation_speech_with_http_info(self, body, **kwargs): # noqa: E501
|
|
1416
|
+
"""list_ai_translation_speech # noqa: E501
|
|
1417
|
+
|
|
1418
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1419
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1420
|
+
>>> thread = api.list_ai_translation_speech_with_http_info(body, async_req=True)
|
|
1421
|
+
>>> result = thread.get()
|
|
1422
|
+
|
|
1423
|
+
:param async_req bool
|
|
1424
|
+
:param ListAITranslationSpeechRequest body: (required)
|
|
1425
|
+
:return: ListAITranslationSpeechResponse
|
|
1426
|
+
If the method is called asynchronously,
|
|
1427
|
+
returns the request thread.
|
|
1428
|
+
"""
|
|
1429
|
+
|
|
1430
|
+
all_params = ['body'] # noqa: E501
|
|
1431
|
+
all_params.append('async_req')
|
|
1432
|
+
all_params.append('_return_http_data_only')
|
|
1433
|
+
all_params.append('_preload_content')
|
|
1434
|
+
all_params.append('_request_timeout')
|
|
1435
|
+
|
|
1436
|
+
params = locals()
|
|
1437
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
1438
|
+
if key not in all_params:
|
|
1439
|
+
raise TypeError(
|
|
1440
|
+
"Got an unexpected keyword argument '%s'"
|
|
1441
|
+
" to method list_ai_translation_speech" % key
|
|
1442
|
+
)
|
|
1443
|
+
params[key] = val
|
|
1444
|
+
del params['kwargs']
|
|
1445
|
+
# verify the required parameter 'body' is set
|
|
1446
|
+
if self.api_client.client_side_validation and ('body' not in params or
|
|
1447
|
+
params['body'] is None): # noqa: E501
|
|
1448
|
+
raise ValueError("Missing the required parameter `body` when calling `list_ai_translation_speech`") # noqa: E501
|
|
1449
|
+
|
|
1450
|
+
collection_formats = {}
|
|
1451
|
+
|
|
1452
|
+
path_params = {}
|
|
1453
|
+
|
|
1454
|
+
query_params = []
|
|
1455
|
+
|
|
1456
|
+
header_params = {}
|
|
1457
|
+
|
|
1458
|
+
form_params = []
|
|
1459
|
+
local_var_files = {}
|
|
1460
|
+
|
|
1461
|
+
body_params = None
|
|
1462
|
+
if 'body' in params:
|
|
1463
|
+
body_params = params['body']
|
|
1464
|
+
# HTTP header `Accept`
|
|
1465
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
1466
|
+
['application/json']) # noqa: E501
|
|
1467
|
+
|
|
1468
|
+
# HTTP header `Content-Type`
|
|
1469
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
1470
|
+
['text/plain']) # noqa: E501
|
|
1471
|
+
|
|
1472
|
+
# Authentication setting
|
|
1473
|
+
auth_settings = ['volcengineSign'] # noqa: E501
|
|
1474
|
+
|
|
1475
|
+
return self.api_client.call_api(
|
|
1476
|
+
'/ListAITranslationSpeech/2025-01-01/vod/get/text_plain/', 'GET',
|
|
1477
|
+
path_params,
|
|
1478
|
+
query_params,
|
|
1479
|
+
header_params,
|
|
1480
|
+
body=body_params,
|
|
1481
|
+
post_params=form_params,
|
|
1482
|
+
files=local_var_files,
|
|
1483
|
+
response_type='ListAITranslationSpeechResponse', # noqa: E501
|
|
1484
|
+
auth_settings=auth_settings,
|
|
1485
|
+
async_req=params.get('async_req'),
|
|
1486
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
1487
|
+
_preload_content=params.get('_preload_content', True),
|
|
1488
|
+
_request_timeout=params.get('_request_timeout'),
|
|
1489
|
+
collection_formats=collection_formats)
|
|
1490
|
+
|
|
1491
|
+
def refresh_ai_translation_project(self, body, **kwargs): # noqa: E501
|
|
1492
|
+
"""refresh_ai_translation_project # noqa: E501
|
|
1493
|
+
|
|
1494
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1495
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1496
|
+
>>> thread = api.refresh_ai_translation_project(body, async_req=True)
|
|
1497
|
+
>>> result = thread.get()
|
|
1498
|
+
|
|
1499
|
+
:param async_req bool
|
|
1500
|
+
:param RefreshAITranslationProjectRequest body: (required)
|
|
1501
|
+
:return: RefreshAITranslationProjectResponse
|
|
1502
|
+
If the method is called asynchronously,
|
|
1503
|
+
returns the request thread.
|
|
1504
|
+
"""
|
|
1505
|
+
kwargs['_return_http_data_only'] = True
|
|
1506
|
+
if kwargs.get('async_req'):
|
|
1507
|
+
return self.refresh_ai_translation_project_with_http_info(body, **kwargs) # noqa: E501
|
|
1508
|
+
else:
|
|
1509
|
+
(data) = self.refresh_ai_translation_project_with_http_info(body, **kwargs) # noqa: E501
|
|
1510
|
+
return data
|
|
1511
|
+
|
|
1512
|
+
def refresh_ai_translation_project_with_http_info(self, body, **kwargs): # noqa: E501
|
|
1513
|
+
"""refresh_ai_translation_project # noqa: E501
|
|
1514
|
+
|
|
1515
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1516
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1517
|
+
>>> thread = api.refresh_ai_translation_project_with_http_info(body, async_req=True)
|
|
1518
|
+
>>> result = thread.get()
|
|
1519
|
+
|
|
1520
|
+
:param async_req bool
|
|
1521
|
+
:param RefreshAITranslationProjectRequest body: (required)
|
|
1522
|
+
:return: RefreshAITranslationProjectResponse
|
|
1523
|
+
If the method is called asynchronously,
|
|
1524
|
+
returns the request thread.
|
|
1525
|
+
"""
|
|
1526
|
+
|
|
1527
|
+
all_params = ['body'] # noqa: E501
|
|
1528
|
+
all_params.append('async_req')
|
|
1529
|
+
all_params.append('_return_http_data_only')
|
|
1530
|
+
all_params.append('_preload_content')
|
|
1531
|
+
all_params.append('_request_timeout')
|
|
1532
|
+
|
|
1533
|
+
params = locals()
|
|
1534
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
1535
|
+
if key not in all_params:
|
|
1536
|
+
raise TypeError(
|
|
1537
|
+
"Got an unexpected keyword argument '%s'"
|
|
1538
|
+
" to method refresh_ai_translation_project" % key
|
|
1539
|
+
)
|
|
1540
|
+
params[key] = val
|
|
1541
|
+
del params['kwargs']
|
|
1542
|
+
# verify the required parameter 'body' is set
|
|
1543
|
+
if self.api_client.client_side_validation and ('body' not in params or
|
|
1544
|
+
params['body'] is None): # noqa: E501
|
|
1545
|
+
raise ValueError("Missing the required parameter `body` when calling `refresh_ai_translation_project`") # noqa: E501
|
|
1061
1546
|
|
|
1062
1547
|
collection_formats = {}
|
|
1063
1548
|
|
|
@@ -1197,6 +1682,103 @@ class VOD20250101Api(object):
|
|
|
1197
1682
|
_request_timeout=params.get('_request_timeout'),
|
|
1198
1683
|
collection_formats=collection_formats)
|
|
1199
1684
|
|
|
1685
|
+
def set_ai_term_item(self, body, **kwargs): # noqa: E501
|
|
1686
|
+
"""set_ai_term_item # noqa: E501
|
|
1687
|
+
|
|
1688
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1689
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1690
|
+
>>> thread = api.set_ai_term_item(body, async_req=True)
|
|
1691
|
+
>>> result = thread.get()
|
|
1692
|
+
|
|
1693
|
+
:param async_req bool
|
|
1694
|
+
:param SetAITermItemRequest body: (required)
|
|
1695
|
+
:return: SetAITermItemResponse
|
|
1696
|
+
If the method is called asynchronously,
|
|
1697
|
+
returns the request thread.
|
|
1698
|
+
"""
|
|
1699
|
+
kwargs['_return_http_data_only'] = True
|
|
1700
|
+
if kwargs.get('async_req'):
|
|
1701
|
+
return self.set_ai_term_item_with_http_info(body, **kwargs) # noqa: E501
|
|
1702
|
+
else:
|
|
1703
|
+
(data) = self.set_ai_term_item_with_http_info(body, **kwargs) # noqa: E501
|
|
1704
|
+
return data
|
|
1705
|
+
|
|
1706
|
+
def set_ai_term_item_with_http_info(self, body, **kwargs): # noqa: E501
|
|
1707
|
+
"""set_ai_term_item # noqa: E501
|
|
1708
|
+
|
|
1709
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1710
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1711
|
+
>>> thread = api.set_ai_term_item_with_http_info(body, async_req=True)
|
|
1712
|
+
>>> result = thread.get()
|
|
1713
|
+
|
|
1714
|
+
:param async_req bool
|
|
1715
|
+
:param SetAITermItemRequest body: (required)
|
|
1716
|
+
:return: SetAITermItemResponse
|
|
1717
|
+
If the method is called asynchronously,
|
|
1718
|
+
returns the request thread.
|
|
1719
|
+
"""
|
|
1720
|
+
|
|
1721
|
+
all_params = ['body'] # noqa: E501
|
|
1722
|
+
all_params.append('async_req')
|
|
1723
|
+
all_params.append('_return_http_data_only')
|
|
1724
|
+
all_params.append('_preload_content')
|
|
1725
|
+
all_params.append('_request_timeout')
|
|
1726
|
+
|
|
1727
|
+
params = locals()
|
|
1728
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
1729
|
+
if key not in all_params:
|
|
1730
|
+
raise TypeError(
|
|
1731
|
+
"Got an unexpected keyword argument '%s'"
|
|
1732
|
+
" to method set_ai_term_item" % key
|
|
1733
|
+
)
|
|
1734
|
+
params[key] = val
|
|
1735
|
+
del params['kwargs']
|
|
1736
|
+
# verify the required parameter 'body' is set
|
|
1737
|
+
if self.api_client.client_side_validation and ('body' not in params or
|
|
1738
|
+
params['body'] is None): # noqa: E501
|
|
1739
|
+
raise ValueError("Missing the required parameter `body` when calling `set_ai_term_item`") # noqa: E501
|
|
1740
|
+
|
|
1741
|
+
collection_formats = {}
|
|
1742
|
+
|
|
1743
|
+
path_params = {}
|
|
1744
|
+
|
|
1745
|
+
query_params = []
|
|
1746
|
+
|
|
1747
|
+
header_params = {}
|
|
1748
|
+
|
|
1749
|
+
form_params = []
|
|
1750
|
+
local_var_files = {}
|
|
1751
|
+
|
|
1752
|
+
body_params = None
|
|
1753
|
+
if 'body' in params:
|
|
1754
|
+
body_params = params['body']
|
|
1755
|
+
# HTTP header `Accept`
|
|
1756
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
1757
|
+
['application/json']) # noqa: E501
|
|
1758
|
+
|
|
1759
|
+
# HTTP header `Content-Type`
|
|
1760
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
1761
|
+
['application/json']) # noqa: E501
|
|
1762
|
+
|
|
1763
|
+
# Authentication setting
|
|
1764
|
+
auth_settings = ['volcengineSign'] # noqa: E501
|
|
1765
|
+
|
|
1766
|
+
return self.api_client.call_api(
|
|
1767
|
+
'/SetAITermItem/2025-01-01/vod/post/application_json/', 'POST',
|
|
1768
|
+
path_params,
|
|
1769
|
+
query_params,
|
|
1770
|
+
header_params,
|
|
1771
|
+
body=body_params,
|
|
1772
|
+
post_params=form_params,
|
|
1773
|
+
files=local_var_files,
|
|
1774
|
+
response_type='SetAITermItemResponse', # noqa: E501
|
|
1775
|
+
auth_settings=auth_settings,
|
|
1776
|
+
async_req=params.get('async_req'),
|
|
1777
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
1778
|
+
_preload_content=params.get('_preload_content', True),
|
|
1779
|
+
_request_timeout=params.get('_request_timeout'),
|
|
1780
|
+
collection_formats=collection_formats)
|
|
1781
|
+
|
|
1200
1782
|
def start_execution(self, body, **kwargs): # noqa: E501
|
|
1201
1783
|
"""start_execution # noqa: E501
|
|
1202
1784
|
|
|
@@ -1391,6 +1973,200 @@ class VOD20250101Api(object):
|
|
|
1391
1973
|
_request_timeout=params.get('_request_timeout'),
|
|
1392
1974
|
collection_formats=collection_formats)
|
|
1393
1975
|
|
|
1976
|
+
def update_ai_termbase(self, body, **kwargs): # noqa: E501
|
|
1977
|
+
"""update_ai_termbase # noqa: E501
|
|
1978
|
+
|
|
1979
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1980
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1981
|
+
>>> thread = api.update_ai_termbase(body, async_req=True)
|
|
1982
|
+
>>> result = thread.get()
|
|
1983
|
+
|
|
1984
|
+
:param async_req bool
|
|
1985
|
+
:param UpdateAITermbaseRequest body: (required)
|
|
1986
|
+
:return: UpdateAITermbaseResponse
|
|
1987
|
+
If the method is called asynchronously,
|
|
1988
|
+
returns the request thread.
|
|
1989
|
+
"""
|
|
1990
|
+
kwargs['_return_http_data_only'] = True
|
|
1991
|
+
if kwargs.get('async_req'):
|
|
1992
|
+
return self.update_ai_termbase_with_http_info(body, **kwargs) # noqa: E501
|
|
1993
|
+
else:
|
|
1994
|
+
(data) = self.update_ai_termbase_with_http_info(body, **kwargs) # noqa: E501
|
|
1995
|
+
return data
|
|
1996
|
+
|
|
1997
|
+
def update_ai_termbase_with_http_info(self, body, **kwargs): # noqa: E501
|
|
1998
|
+
"""update_ai_termbase # noqa: E501
|
|
1999
|
+
|
|
2000
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
2001
|
+
asynchronous HTTP request, please pass async_req=True
|
|
2002
|
+
>>> thread = api.update_ai_termbase_with_http_info(body, async_req=True)
|
|
2003
|
+
>>> result = thread.get()
|
|
2004
|
+
|
|
2005
|
+
:param async_req bool
|
|
2006
|
+
:param UpdateAITermbaseRequest body: (required)
|
|
2007
|
+
:return: UpdateAITermbaseResponse
|
|
2008
|
+
If the method is called asynchronously,
|
|
2009
|
+
returns the request thread.
|
|
2010
|
+
"""
|
|
2011
|
+
|
|
2012
|
+
all_params = ['body'] # noqa: E501
|
|
2013
|
+
all_params.append('async_req')
|
|
2014
|
+
all_params.append('_return_http_data_only')
|
|
2015
|
+
all_params.append('_preload_content')
|
|
2016
|
+
all_params.append('_request_timeout')
|
|
2017
|
+
|
|
2018
|
+
params = locals()
|
|
2019
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
2020
|
+
if key not in all_params:
|
|
2021
|
+
raise TypeError(
|
|
2022
|
+
"Got an unexpected keyword argument '%s'"
|
|
2023
|
+
" to method update_ai_termbase" % key
|
|
2024
|
+
)
|
|
2025
|
+
params[key] = val
|
|
2026
|
+
del params['kwargs']
|
|
2027
|
+
# verify the required parameter 'body' is set
|
|
2028
|
+
if self.api_client.client_side_validation and ('body' not in params or
|
|
2029
|
+
params['body'] is None): # noqa: E501
|
|
2030
|
+
raise ValueError("Missing the required parameter `body` when calling `update_ai_termbase`") # noqa: E501
|
|
2031
|
+
|
|
2032
|
+
collection_formats = {}
|
|
2033
|
+
|
|
2034
|
+
path_params = {}
|
|
2035
|
+
|
|
2036
|
+
query_params = []
|
|
2037
|
+
|
|
2038
|
+
header_params = {}
|
|
2039
|
+
|
|
2040
|
+
form_params = []
|
|
2041
|
+
local_var_files = {}
|
|
2042
|
+
|
|
2043
|
+
body_params = None
|
|
2044
|
+
if 'body' in params:
|
|
2045
|
+
body_params = params['body']
|
|
2046
|
+
# HTTP header `Accept`
|
|
2047
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
2048
|
+
['application/json']) # noqa: E501
|
|
2049
|
+
|
|
2050
|
+
# HTTP header `Content-Type`
|
|
2051
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
2052
|
+
['application/json']) # noqa: E501
|
|
2053
|
+
|
|
2054
|
+
# Authentication setting
|
|
2055
|
+
auth_settings = ['volcengineSign'] # noqa: E501
|
|
2056
|
+
|
|
2057
|
+
return self.api_client.call_api(
|
|
2058
|
+
'/UpdateAITermbase/2025-01-01/vod/post/application_json/', 'POST',
|
|
2059
|
+
path_params,
|
|
2060
|
+
query_params,
|
|
2061
|
+
header_params,
|
|
2062
|
+
body=body_params,
|
|
2063
|
+
post_params=form_params,
|
|
2064
|
+
files=local_var_files,
|
|
2065
|
+
response_type='UpdateAITermbaseResponse', # noqa: E501
|
|
2066
|
+
auth_settings=auth_settings,
|
|
2067
|
+
async_req=params.get('async_req'),
|
|
2068
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
2069
|
+
_preload_content=params.get('_preload_content', True),
|
|
2070
|
+
_request_timeout=params.get('_request_timeout'),
|
|
2071
|
+
collection_formats=collection_formats)
|
|
2072
|
+
|
|
2073
|
+
def update_ai_translation_project_config(self, body, **kwargs): # noqa: E501
|
|
2074
|
+
"""update_ai_translation_project_config # noqa: E501
|
|
2075
|
+
|
|
2076
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
2077
|
+
asynchronous HTTP request, please pass async_req=True
|
|
2078
|
+
>>> thread = api.update_ai_translation_project_config(body, async_req=True)
|
|
2079
|
+
>>> result = thread.get()
|
|
2080
|
+
|
|
2081
|
+
:param async_req bool
|
|
2082
|
+
:param UpdateAITranslationProjectConfigRequest body: (required)
|
|
2083
|
+
:return: UpdateAITranslationProjectConfigResponse
|
|
2084
|
+
If the method is called asynchronously,
|
|
2085
|
+
returns the request thread.
|
|
2086
|
+
"""
|
|
2087
|
+
kwargs['_return_http_data_only'] = True
|
|
2088
|
+
if kwargs.get('async_req'):
|
|
2089
|
+
return self.update_ai_translation_project_config_with_http_info(body, **kwargs) # noqa: E501
|
|
2090
|
+
else:
|
|
2091
|
+
(data) = self.update_ai_translation_project_config_with_http_info(body, **kwargs) # noqa: E501
|
|
2092
|
+
return data
|
|
2093
|
+
|
|
2094
|
+
def update_ai_translation_project_config_with_http_info(self, body, **kwargs): # noqa: E501
|
|
2095
|
+
"""update_ai_translation_project_config # noqa: E501
|
|
2096
|
+
|
|
2097
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
2098
|
+
asynchronous HTTP request, please pass async_req=True
|
|
2099
|
+
>>> thread = api.update_ai_translation_project_config_with_http_info(body, async_req=True)
|
|
2100
|
+
>>> result = thread.get()
|
|
2101
|
+
|
|
2102
|
+
:param async_req bool
|
|
2103
|
+
:param UpdateAITranslationProjectConfigRequest body: (required)
|
|
2104
|
+
:return: UpdateAITranslationProjectConfigResponse
|
|
2105
|
+
If the method is called asynchronously,
|
|
2106
|
+
returns the request thread.
|
|
2107
|
+
"""
|
|
2108
|
+
|
|
2109
|
+
all_params = ['body'] # noqa: E501
|
|
2110
|
+
all_params.append('async_req')
|
|
2111
|
+
all_params.append('_return_http_data_only')
|
|
2112
|
+
all_params.append('_preload_content')
|
|
2113
|
+
all_params.append('_request_timeout')
|
|
2114
|
+
|
|
2115
|
+
params = locals()
|
|
2116
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
2117
|
+
if key not in all_params:
|
|
2118
|
+
raise TypeError(
|
|
2119
|
+
"Got an unexpected keyword argument '%s'"
|
|
2120
|
+
" to method update_ai_translation_project_config" % key
|
|
2121
|
+
)
|
|
2122
|
+
params[key] = val
|
|
2123
|
+
del params['kwargs']
|
|
2124
|
+
# verify the required parameter 'body' is set
|
|
2125
|
+
if self.api_client.client_side_validation and ('body' not in params or
|
|
2126
|
+
params['body'] is None): # noqa: E501
|
|
2127
|
+
raise ValueError("Missing the required parameter `body` when calling `update_ai_translation_project_config`") # noqa: E501
|
|
2128
|
+
|
|
2129
|
+
collection_formats = {}
|
|
2130
|
+
|
|
2131
|
+
path_params = {}
|
|
2132
|
+
|
|
2133
|
+
query_params = []
|
|
2134
|
+
|
|
2135
|
+
header_params = {}
|
|
2136
|
+
|
|
2137
|
+
form_params = []
|
|
2138
|
+
local_var_files = {}
|
|
2139
|
+
|
|
2140
|
+
body_params = None
|
|
2141
|
+
if 'body' in params:
|
|
2142
|
+
body_params = params['body']
|
|
2143
|
+
# HTTP header `Accept`
|
|
2144
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
2145
|
+
['application/json']) # noqa: E501
|
|
2146
|
+
|
|
2147
|
+
# HTTP header `Content-Type`
|
|
2148
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
2149
|
+
['application/json']) # noqa: E501
|
|
2150
|
+
|
|
2151
|
+
# Authentication setting
|
|
2152
|
+
auth_settings = ['volcengineSign'] # noqa: E501
|
|
2153
|
+
|
|
2154
|
+
return self.api_client.call_api(
|
|
2155
|
+
'/UpdateAITranslationProjectConfig/2025-01-01/vod/post/application_json/', 'POST',
|
|
2156
|
+
path_params,
|
|
2157
|
+
query_params,
|
|
2158
|
+
header_params,
|
|
2159
|
+
body=body_params,
|
|
2160
|
+
post_params=form_params,
|
|
2161
|
+
files=local_var_files,
|
|
2162
|
+
response_type='UpdateAITranslationProjectConfigResponse', # noqa: E501
|
|
2163
|
+
auth_settings=auth_settings,
|
|
2164
|
+
async_req=params.get('async_req'),
|
|
2165
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
2166
|
+
_preload_content=params.get('_preload_content', True),
|
|
2167
|
+
_request_timeout=params.get('_request_timeout'),
|
|
2168
|
+
collection_formats=collection_formats)
|
|
2169
|
+
|
|
1394
2170
|
def update_ai_translation_speakers(self, body, **kwargs): # noqa: E501
|
|
1395
2171
|
"""update_ai_translation_speakers # noqa: E501
|
|
1396
2172
|
|