oci 2.132.0__py3-none-any.whl → 2.134.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- oci/__init__.py +2 -2
- oci/access_governance_cp/access_governance_cp_client.py +8 -8
- oci/adm/application_dependency_management_client.py +36 -36
- oci/ai_anomaly_detection/anomaly_detection_client.py +36 -36
- oci/ai_document/ai_service_document_client.py +626 -28
- oci/ai_document/ai_service_document_client_composite_operations.py +180 -0
- oci/ai_document/models/__init__.py +10 -0
- oci/ai_document/models/add_model_lock_details.py +150 -0
- oci/ai_document/models/add_project_lock_details.py +150 -0
- oci/ai_document/models/analyze_document_details.py +5 -5
- oci/ai_document/models/detected_document_type.py +0 -35
- oci/ai_document/models/document_classification_feature.py +2 -33
- oci/ai_document/models/document_key_value_extraction_feature.py +2 -33
- oci/ai_document/models/general_processor_config.py +5 -5
- oci/ai_document/models/model.py +33 -2
- oci/ai_document/models/model_summary.py +33 -2
- oci/ai_document/models/output_location.py +1 -1
- oci/ai_document/models/project.py +33 -2
- oci/ai_document/models/remove_model_lock_details.py +88 -0
- oci/ai_document/models/remove_project_lock_details.py +88 -0
- oci/ai_document/models/resource_lock.py +216 -0
- oci/ai_language/ai_service_language_client.py +44 -44
- oci/ai_speech/ai_service_speech_client.py +214 -17
- oci/ai_speech/models/__init__.py +23 -1
- oci/ai_speech/models/synthesize_speech_details.py +196 -0
- oci/ai_speech/models/tts_audio_config.py +106 -0
- oci/ai_speech/models/tts_base_audio_config.py +82 -0
- oci/ai_speech/models/tts_configuration.py +103 -0
- oci/ai_speech/models/tts_oracle_configuration.py +105 -0
- oci/ai_speech/models/tts_oracle_model_details.py +113 -0
- oci/ai_speech/models/tts_oracle_speech_settings.py +246 -0
- oci/ai_speech/models/tts_oracle_tts1_standard_model_details.py +84 -0
- oci/ai_speech/models/tts_oracle_tts2_natural_model_details.py +84 -0
- oci/ai_speech/models/voice_collection.py +72 -0
- oci/ai_speech/models/voice_summary.py +379 -0
- oci/ai_vision/ai_service_vision_client.py +25 -25
- oci/analytics/analytics_client.py +24 -24
- oci/announcements_service/__init__.py +3 -1
- oci/announcements_service/announcement_client.py +103 -6
- oci/announcements_service/announcement_subscription_client.py +9 -9
- oci/announcements_service/announcements_preferences_client.py +4 -4
- oci/announcements_service/models/__init__.py +12 -0
- oci/announcements_service/models/announcement.py +1 -1
- oci/announcements_service/models/announcement_compartment.py +72 -0
- oci/announcements_service/models/announcement_summary.py +1 -1
- oci/announcements_service/models/base_announcement.py +7 -3
- oci/announcements_service/models/base_service.py +498 -0
- oci/announcements_service/models/notifications_summary.py +130 -0
- oci/announcements_service/models/service.py +130 -0
- oci/announcements_service/models/service_summary.py +133 -0
- oci/announcements_service/models/services_collection.py +72 -0
- oci/announcements_service/service_client.py +275 -0
- oci/announcements_service/service_client_composite_operations.py +26 -0
- oci/apigateway/api_gateway_client.py +21 -21
- oci/apigateway/deployment_client.py +6 -6
- oci/apigateway/gateway_client.py +6 -6
- oci/apigateway/subscribers_client.py +6 -6
- oci/apigateway/usage_plans_client.py +6 -6
- oci/apigateway/work_requests_client.py +5 -5
- oci/apm_config/config_client.py +9 -9
- oci/apm_control_plane/apm_domain_client.py +14 -14
- oci/apm_synthetics/apm_synthetic_client.py +28 -28
- oci/apm_traces/attributes_client.py +8 -8
- oci/apm_traces/query_client.py +2 -2
- oci/apm_traces/trace_client.py +4 -4
- oci/appmgmt_control/appmgmt_control_client.py +8 -8
- oci/artifacts/artifacts_client.py +32 -32
- oci/audit/audit_client.py +3 -3
- oci/autoscaling/auto_scaling_client.py +11 -11
- oci/bastion/bastion_client.py +15 -15
- oci/bds/bds_client.py +72 -72
- oci/blockchain/blockchain_platform_client.py +27 -27
- oci/budget/budget_client.py +10 -10
- oci/capacity_management/capacity_management_client.py +1692 -423
- oci/capacity_management/capacity_management_client_composite_operations.py +146 -0
- oci/capacity_management/models/__init__.py +23 -1
- oci/capacity_management/models/associated_capacity_request_details.py +103 -0
- oci/capacity_management/models/associated_occ_handover_resource_block.py +103 -0
- oci/capacity_management/models/create_occ_capacity_request_details.py +3 -3
- oci/capacity_management/models/create_occ_customer_details.py +181 -0
- oci/capacity_management/models/create_occ_customer_group_details.py +309 -0
- oci/capacity_management/models/occ_capacity_request_base_details.py +62 -0
- oci/capacity_management/models/occ_handover_resource_block_collection.py +72 -0
- oci/capacity_management/models/occ_handover_resource_block_detail_collection.py +72 -0
- oci/capacity_management/models/occ_handover_resource_block_detail_summary.py +104 -0
- oci/capacity_management/models/occ_handover_resource_block_summary.py +332 -0
- oci/capacity_management/models/placement_details.py +227 -0
- oci/capacity_management/models/update_occ_customer_details.py +150 -0
- oci/capacity_management/models/update_occ_customer_group_details.py +216 -0
- oci/certificates/certificates_client.py +5 -5
- oci/certificates_management/certificates_management_client.py +32 -32
- oci/cims/incident_client.py +8 -8
- oci/cims/user_client.py +1 -1
- oci/cloud_bridge/common_client.py +5 -5
- oci/cloud_bridge/discovery_client.py +14 -14
- oci/cloud_bridge/inventory_client.py +16 -16
- oci/cloud_bridge/ocb_agent_svc_client.py +23 -23
- oci/cloud_guard/cloud_guard_client.py +155 -155
- oci/cloud_migrations/migration_client.py +43 -43
- oci/cluster_placement_groups/cluster_placement_groups_cp_client.py +13 -13
- oci/compute_cloud_at_customer/compute_cloud_at_customer_client.py +12 -12
- oci/compute_instance_agent/compute_instance_agent_client.py +6 -6
- oci/compute_instance_agent/plugin_client.py +2 -2
- oci/compute_instance_agent/pluginconfig_client.py +1 -1
- oci/container_engine/container_engine_client.py +44 -44
- oci/container_instances/container_instance_client.py +18 -18
- oci/core/blockstorage_client.py +60 -60
- oci/core/compute_client.py +102 -102
- oci/core/compute_management_client.py +32 -32
- oci/core/virtual_network_client.py +247 -247
- oci/dashboard_service/dashboard_client.py +6 -6
- oci/dashboard_service/dashboard_group_client.py +6 -6
- oci/data_catalog/data_catalog_client.py +149 -149
- oci/data_flow/data_flow_client.py +42 -42
- oci/data_integration/data_integration_client.py +163 -163
- oci/data_labeling_service/data_labeling_management_client.py +17 -17
- oci/data_labeling_service_dataplane/data_labeling_client.py +15 -15
- oci/data_safe/data_safe_client.py +287 -287
- oci/data_science/data_science_client.py +91 -91
- oci/database/database_client.py +13862 -9467
- oci/database/database_client_composite_operations.py +1868 -232
- oci/database/models/__init__.py +80 -0
- oci/database/models/action_member.py +134 -0
- oci/database/models/action_order_details.py +107 -0
- oci/database/models/action_param_values_collection.py +72 -0
- oci/database/models/action_param_values_summary.py +216 -0
- oci/database/models/autonomous_database.py +33 -6
- oci/database/models/autonomous_database_standby_summary.py +33 -2
- oci/database/models/autonomous_database_summary.py +33 -6
- oci/database/models/cancel_execution_window_details.py +134 -0
- oci/database/models/change_scheduling_plan_compartment_details.py +76 -0
- oci/database/models/change_scheduling_policy_compartment_details.py +76 -0
- oci/database/models/cloud_exadata_infrastructure.py +33 -2
- oci/database/models/cloud_exadata_infrastructure_summary.py +33 -2
- oci/database/models/create_autonomous_database_base.py +2 -6
- oci/database/models/create_data_guard_association_with_new_db_system_details.py +35 -0
- oci/database/models/create_exadb_vm_cluster_details.py +12 -2
- oci/database/models/create_execution_action_details.py +304 -0
- oci/database/models/create_execution_window_details.py +282 -0
- oci/database/models/create_pluggable_database_creation_type_details.py +0 -2
- oci/database/models/create_scheduled_action_details.py +339 -0
- oci/database/models/create_scheduling_plan_details.py +306 -0
- oci/database/models/create_scheduling_policy_details.py +267 -0
- oci/database/models/create_scheduling_window_details.py +181 -0
- oci/database/models/exadata_infrastructure.py +33 -2
- oci/database/models/exadata_infrastructure_summary.py +33 -2
- oci/database/models/exadb_vm_cluster.py +12 -2
- oci/database/models/exadb_vm_cluster_summary.py +12 -2
- oci/database/models/execution_action.py +715 -0
- oci/database/models/execution_action_member.py +216 -0
- oci/database/models/execution_action_summary.py +715 -0
- oci/database/models/execution_window.py +783 -0
- oci/database/models/execution_window_summary.py +783 -0
- oci/database/models/granular_maintenance_history_details.py +99 -0
- oci/database/models/maintenance_run.py +62 -0
- oci/database/models/maintenance_run_history.py +64 -2
- oci/database/models/maintenance_run_history_summary.py +64 -2
- oci/database/models/maintenance_run_summary.py +62 -0
- oci/database/models/move_execution_action_member_details.py +220 -0
- oci/database/models/recommended_scheduled_action_summary.py +280 -0
- oci/database/models/recommended_scheduled_actions_collection.py +72 -0
- oci/database/models/reorder_execution_action_details.py +152 -0
- oci/database/models/reorder_scheduled_actions_details.py +109 -0
- oci/database/models/scheduled_action.py +633 -0
- oci/database/models/scheduled_action_collection.py +72 -0
- oci/database/models/scheduled_action_summary.py +633 -0
- oci/database/models/scheduling_plan.py +643 -0
- oci/database/models/scheduling_plan_collection.py +72 -0
- oci/database/models/scheduling_plan_summary.py +643 -0
- oci/database/models/scheduling_policy.py +493 -0
- oci/database/models/scheduling_policy_summary.py +493 -0
- oci/database/models/scheduling_window.py +469 -0
- oci/database/models/scheduling_window_summary.py +469 -0
- oci/database/models/update_autonomous_database_details.py +2 -6
- oci/database/models/update_exadb_vm_cluster_details.py +12 -2
- oci/database/models/update_execution_action_details.py +218 -0
- oci/database/models/update_execution_window_details.py +212 -0
- oci/database/models/update_scheduled_action_details.py +140 -0
- oci/database/models/update_scheduling_policy_details.py +232 -0
- oci/database/models/update_scheduling_window_details.py +146 -0
- oci/database/models/window_preference_detail.py +231 -0
- oci/database_management/db_management_client.py +580 -208
- oci/database_management/db_management_client_composite_operations.py +132 -0
- oci/database_management/diagnosability_client.py +4 -4
- oci/database_management/managed_my_sql_databases_client.py +7 -7
- oci/database_management/models/__init__.py +14 -0
- oci/database_management/models/autonomous_database_diagnostics_and_management_feature_details.py +65 -0
- oci/database_management/models/autonomous_database_feature_details.py +167 -0
- oci/database_management/models/autonomous_database_sql_watch_feature_details.py +65 -0
- oci/database_management/models/connector_details.py +15 -3
- oci/database_management/models/create_db_management_private_endpoint_details.py +31 -0
- oci/database_management/models/db_management_private_endpoint.py +31 -0
- oci/database_management/models/direct_connector_details.py +51 -0
- oci/database_management/models/disable_autonomous_database_management_feature_details.py +92 -0
- oci/database_management/models/enable_autonomous_database_management_feature_details.py +68 -0
- oci/database_management/models/external_connector_details.py +1 -1
- oci/database_management/models/macs_connector_details.py +1 -1
- oci/database_management/models/modify_autonomous_database_management_feature_details.py +68 -0
- oci/database_management/models/optimizer_statistics_collection_operation.py +7 -3
- oci/database_management/models/optimizer_statistics_collection_operation_summary.py +7 -3
- oci/database_management/models/private_end_point_connector_details.py +1 -1
- oci/database_management/perfhub_client.py +1 -1
- oci/database_management/sql_tuning_client.py +17 -17
- oci/database_migration/database_migration_client.py +42 -42
- oci/database_tools/database_tools_client.py +23 -23
- oci/delegate_access_control/__init__.py +16 -0
- oci/delegate_access_control/delegate_access_control_client.py +3324 -0
- oci/delegate_access_control/delegate_access_control_client_composite_operations.py +492 -0
- oci/delegate_access_control/models/__init__.py +96 -0
- oci/delegate_access_control/models/approve_delegated_resource_access_request_details.py +138 -0
- oci/delegate_access_control/models/change_delegation_control_compartment_details.py +72 -0
- oci/delegate_access_control/models/change_delegation_subscription_compartment_details.py +72 -0
- oci/delegate_access_control/models/create_delegation_control_details.py +548 -0
- oci/delegate_access_control/models/create_delegation_subscription_details.py +263 -0
- oci/delegate_access_control/models/delegated_resource_access_request.py +1373 -0
- oci/delegate_access_control/models/delegated_resource_access_request_approval_details.py +263 -0
- oci/delegate_access_control/models/delegated_resource_access_request_audit_log_report.py +193 -0
- oci/delegate_access_control/models/delegated_resource_access_request_history_collection.py +72 -0
- oci/delegate_access_control/models/delegated_resource_access_request_history_summary.py +300 -0
- oci/delegate_access_control/models/delegated_resource_access_request_summary.py +981 -0
- oci/delegate_access_control/models/delegated_resource_access_request_summary_collection.py +72 -0
- oci/delegate_access_control/models/delegation_control.py +833 -0
- oci/delegate_access_control/models/delegation_control_resource_collection.py +72 -0
- oci/delegate_access_control/models/delegation_control_resource_summary.py +147 -0
- oci/delegate_access_control/models/delegation_control_summary.py +465 -0
- oci/delegate_access_control/models/delegation_control_summary_collection.py +72 -0
- oci/delegate_access_control/models/delegation_subscription.py +524 -0
- oci/delegate_access_control/models/delegation_subscription_summary.py +461 -0
- oci/delegate_access_control/models/delegation_subscription_summary_collection.py +72 -0
- oci/delegate_access_control/models/reject_delegated_resource_access_request_details.py +72 -0
- oci/delegate_access_control/models/revoke_delegated_resource_access_request_details.py +72 -0
- oci/delegate_access_control/models/service_provider.py +583 -0
- oci/delegate_access_control/models/service_provider_action.py +371 -0
- oci/delegate_access_control/models/service_provider_action_properties.py +103 -0
- oci/delegate_access_control/models/service_provider_action_summary.py +323 -0
- oci/delegate_access_control/models/service_provider_action_summary_collection.py +72 -0
- oci/delegate_access_control/models/service_provider_interaction_collection.py +72 -0
- oci/delegate_access_control/models/service_provider_interaction_request_details.py +72 -0
- oci/delegate_access_control/models/service_provider_interaction_summary.py +247 -0
- oci/delegate_access_control/models/service_provider_summary.py +508 -0
- oci/delegate_access_control/models/service_provider_summary_collection.py +72 -0
- oci/delegate_access_control/models/update_delegation_control_details.py +404 -0
- oci/delegate_access_control/models/update_delegation_subscription_details.py +154 -0
- oci/delegate_access_control/models/work_request.py +438 -0
- oci/delegate_access_control/models/work_request_error.py +136 -0
- oci/delegate_access_control/models/work_request_error_collection.py +72 -0
- oci/delegate_access_control/models/work_request_log_entry.py +103 -0
- oci/delegate_access_control/models/work_request_log_entry_collection.py +72 -0
- oci/delegate_access_control/models/work_request_resource.py +234 -0
- oci/delegate_access_control/models/work_request_summary.py +438 -0
- oci/delegate_access_control/models/work_request_summary_collection.py +72 -0
- oci/delegate_access_control/work_request_client.py +660 -0
- oci/delegate_access_control/work_request_client_composite_operations.py +26 -0
- oci/demand_signal/occ_demand_signal_client.py +7 -7
- oci/desktops/desktop_service_client.py +21 -21
- oci/devops/devops_client.py +141 -141
- oci/disaster_recovery/disaster_recovery_client.py +29 -29
- oci/dns/dns_client.py +52 -52
- oci/dts/appliance_export_job_client.py +6 -6
- oci/dts/shipping_vendors_client.py +1 -1
- oci/dts/transfer_appliance_client.py +8 -8
- oci/dts/transfer_appliance_entitlement_client.py +3 -3
- oci/dts/transfer_device_client.py +5 -5
- oci/dts/transfer_job_client.py +6 -6
- oci/dts/transfer_package_client.py +7 -7
- oci/em_warehouse/em_data_lake_client.py +13 -13
- oci/em_warehouse/em_warehouse_client.py +13 -13
- oci/email/email_client.py +31 -31
- oci/email_data_plane/email_dp_client.py +1 -1
- oci/events/events_client.py +6 -6
- oci/file_storage/file_storage_client.py +393 -59
- oci/file_storage/file_storage_client_composite_operations.py +138 -0
- oci/file_storage/models/__init__.py +4 -0
- oci/file_storage/models/create_mount_target_details.py +39 -26
- oci/file_storage/models/mount_target.py +153 -3
- oci/file_storage/models/mount_target_summary.py +155 -3
- oci/file_storage/models/schedule_downgrade_shape_mount_target_details.py +78 -0
- oci/file_storage/models/upgrade_shape_mount_target_details.py +78 -0
- oci/fleet_apps_management/fleet_apps_management_admin_client.py +16 -16
- oci/fleet_apps_management/fleet_apps_management_client.py +70 -70
- oci/fleet_apps_management/fleet_apps_management_maintenance_window_client.py +10 -10
- oci/fleet_apps_management/fleet_apps_management_operations_client.py +26 -26
- oci/fleet_apps_management/fleet_apps_management_runbooks_client.py +8 -8
- oci/fleet_software_update/fleet_software_update_client.py +48 -48
- oci/fleet_software_update/models/create_db_fsu_collection_details.py +7 -3
- oci/fleet_software_update/models/create_gi_fsu_collection_details.py +7 -3
- oci/fleet_software_update/models/db_collection.py +7 -3
- oci/fleet_software_update/models/db_discovery_details.py +7 -3
- oci/fleet_software_update/models/db_fsu_collection_summary.py +7 -3
- oci/fleet_software_update/models/gi_collection.py +7 -3
- oci/fleet_software_update/models/gi_discovery_details.py +7 -3
- oci/fleet_software_update/models/gi_fsu_collection_summary.py +7 -3
- oci/fleet_software_update/models/work_request.py +7 -3
- oci/fleet_software_update/models/work_request_summary.py +7 -3
- oci/functions/functions_invoke_client.py +1 -1
- oci/functions/functions_management_client.py +16 -16
- oci/fusion_apps/data_masking_activity_client.py +3 -3
- oci/fusion_apps/fusion_applications_client.py +41 -41
- oci/fusion_apps/fusion_environment_client.py +15 -15
- oci/fusion_apps/fusion_environment_family_client.py +8 -8
- oci/fusion_apps/models/fusion_environment_family.py +33 -2
- oci/fusion_apps/refresh_activity_client.py +4 -4
- oci/fusion_apps/scheduled_activity_client.py +2 -2
- oci/fusion_apps/service_attachment_client.py +2 -2
- oci/generative_ai/generative_ai_client.py +23 -23
- oci/generative_ai/models/create_endpoint_details.py +2 -2
- oci/generative_ai/models/dedicated_ai_cluster.py +7 -3
- oci/generative_ai_inference/generative_ai_inference_client.py +4 -4
- oci/generic_artifacts_content/generic_artifacts_content_client.py +3 -3
- oci/globally_distributed_database/sharded_database_service_client.py +30 -30
- oci/golden_gate/golden_gate_client.py +68 -68
- oci/governance_rules_control_plane/governance_rule_client.py +15 -15
- oci/governance_rules_control_plane/work_request_client.py +5 -5
- oci/healthchecks/health_checks_client.py +17 -17
- oci/identity/identity_client.py +145 -145
- oci/identity_data_plane/dataplane_client.py +2 -2
- oci/identity_domains/identity_domains_client.py +307 -307
- oci/integration/integration_instance_client.py +16 -16
- oci/jms/java_management_service_client.py +75 -75
- oci/jms_java_downloads/java_download_client.py +25 -25
- oci/key_management/ekm_client.py +5 -5
- oci/key_management/kms_crypto_client.py +6 -6
- oci/key_management/kms_hsm_cluster_client.py +25 -25
- oci/key_management/kms_hsm_cluster_client_composite_operations.py +3 -3
- oci/key_management/kms_management_client.py +21 -21
- oci/key_management/kms_vault_client.py +14 -14
- oci/key_management/models/auto_key_rotation_details.py +10 -10
- oci/key_management/models/change_hsm_cluster_compartment_details.py +3 -3
- oci/key_management/models/create_hsm_cluster_details.py +5 -5
- oci/key_management/models/hsm_cluster.py +4 -4
- oci/key_management/models/hsm_cluster_collection.py +2 -2
- oci/key_management/models/hsm_cluster_summary.py +3 -3
- oci/key_management/models/hsm_partition.py +29 -9
- oci/key_management/models/hsm_partition_collection.py +1 -1
- oci/key_management/models/hsm_partition_summary.py +11 -7
- oci/key_management/models/port_information.py +5 -5
- oci/key_management/models/pre_co_user_credentials.py +2 -2
- oci/key_management/models/upload_partition_certificates_details.py +5 -5
- oci/key_management/models/vault.py +31 -0
- oci/license_manager/license_manager_client.py +18 -18
- oci/limits/limits_client.py +4 -4
- oci/limits/quotas_client.py +7 -7
- oci/load_balancer/load_balancer_client.py +61 -61
- oci/load_balancer/models/backend.py +4 -0
- oci/load_balancer/models/backend_details.py +4 -0
- oci/load_balancer/models/backend_set.py +6 -2
- oci/load_balancer/models/backend_set_details.py +6 -2
- oci/load_balancer/models/create_backend_details.py +4 -0
- oci/load_balancer/models/create_backend_set_details.py +6 -2
- oci/load_balancer/models/create_load_balancer_details.py +116 -0
- oci/load_balancer/models/ip_max_connections.py +8 -2
- oci/load_balancer/models/load_balancer.py +100 -0
- oci/load_balancer/models/update_backend_details.py +4 -0
- oci/load_balancer/models/update_backend_set_details.py +6 -2
- oci/load_balancer/models/update_load_balancer_details.py +112 -0
- oci/lockbox/lockbox_client.py +24 -24
- oci/lockbox/models/access_request.py +35 -2
- oci/lockbox/models/access_request_ext.py +35 -2
- oci/lockbox/models/access_request_summary.py +33 -0
- oci/lockbox/models/create_access_request_details.py +35 -2
- oci/log_analytics/log_analytics_client.py +193 -193
- oci/logging/logging_management_client.py +30 -30
- oci/loggingingestion/logging_client.py +1 -1
- oci/loggingsearch/log_search_client.py +1 -1
- oci/management_agent/management_agent_client.py +28 -28
- oci/management_dashboard/dashx_apis_client.py +14 -14
- oci/marketplace/account_client.py +2 -2
- oci/marketplace/marketplace_client.py +30 -30
- oci/marketplace_private_offer/attachment_client.py +5 -5
- oci/marketplace_private_offer/offer_client.py +6 -6
- oci/marketplace_publisher/attachment_client.py +5 -5
- oci/marketplace_publisher/marketplace_publisher_client.py +71 -71
- oci/marketplace_publisher/offer_client.py +6 -6
- oci/media_services/media_services_client.py +60 -60
- oci/media_services/media_stream_client.py +2 -2
- oci/monitoring/monitoring_client.py +18 -18
- oci/mysql/channels_client.py +7 -7
- oci/mysql/db_backups_client.py +7 -7
- oci/mysql/db_system_client.py +17 -17
- oci/mysql/models/__init__.py +2 -0
- oci/mysql/models/create_db_system_details.py +37 -2
- oci/mysql/models/customer_contact.py +72 -0
- oci/mysql/models/db_system.py +37 -2
- oci/mysql/models/update_db_system_details.py +37 -2
- oci/mysql/mysqlaas_client.py +7 -7
- oci/mysql/replicas_client.py +5 -5
- oci/mysql/work_requests_client.py +4 -4
- oci/network_firewall/network_firewall_client.py +86 -86
- oci/network_load_balancer/network_load_balancer_client.py +34 -34
- oci/nosql/nosql_client.py +24 -24
- oci/object_storage/models/__init__.py +14 -0
- oci/object_storage/models/access_target_details.py +136 -0
- oci/object_storage/models/create_private_endpoint_details.py +389 -0
- oci/object_storage/models/fqdns.py +99 -0
- oci/object_storage/models/prefix_fqdns.py +134 -0
- oci/object_storage/models/private_endpoint.py +685 -0
- oci/object_storage/models/private_endpoint_summary.py +369 -0
- oci/object_storage/models/update_private_endpoint_details.py +216 -0
- oci/object_storage/models/work_request.py +15 -3
- oci/object_storage/models/work_request_summary.py +15 -3
- oci/object_storage/object_storage_client.py +686 -71
- oci/object_storage/object_storage_client_composite_operations.py +139 -0
- oci/oce/oce_instance_client.py +10 -10
- oci/oci_control_center/occ_metrics_client.py +3 -3
- oci/ocvp/cluster_client.py +8 -8
- oci/ocvp/cluster_client_composite_operations.py +2 -2
- oci/ocvp/esxi_host_client.py +9 -9
- oci/ocvp/models/cluster.py +35 -2
- oci/ocvp/models/cluster_summary.py +35 -2
- oci/ocvp/models/datastore_details.py +1 -1
- oci/ocvp/models/esxi_host.py +35 -2
- oci/ocvp/models/esxi_host_summary.py +35 -2
- oci/ocvp/models/sddc.py +35 -2
- oci/ocvp/models/sddc_summary.py +35 -2
- oci/ocvp/models/supported_host_shape_summary.py +55 -3
- oci/ocvp/models/work_request.py +55 -3
- oci/ocvp/sddc_client.py +21 -16
- oci/ocvp/work_request_client.py +4 -4
- oci/oda/management_client.py +59 -59
- oci/oda/oda_client.py +17 -17
- oci/oda/odapackage_client.py +7 -7
- oci/onesubscription/billing_schedule_client.py +1 -1
- oci/onesubscription/commitment_client.py +2 -2
- oci/onesubscription/computed_usage_client.py +3 -3
- oci/onesubscription/invoice_summary_client.py +2 -2
- oci/onesubscription/organization_subscription_client.py +1 -1
- oci/onesubscription/ratecard_client.py +1 -1
- oci/onesubscription/subscribed_service_client.py +2 -2
- oci/onesubscription/subscription_client.py +1 -1
- oci/ons/notification_control_plane_client.py +6 -6
- oci/ons/notification_data_plane_client.py +10 -10
- oci/opa/opa_instance_client.py +13 -13
- oci/opensearch/opensearch_cluster_backup_client.py +4 -4
- oci/opensearch/opensearch_cluster_client.py +14 -14
- oci/operator_access_control/access_requests_client.py +10 -10
- oci/operator_access_control/operator_actions_client.py +2 -2
- oci/operator_access_control/operator_control_assignment_client.py +8 -8
- oci/operator_access_control/operator_control_client.py +6 -6
- oci/opsi/operations_insights_client.py +177 -177
- oci/optimizer/optimizer_client.py +26 -26
- oci/os_management/event_client.py +8 -8
- oci/os_management/os_management_client.py +69 -69
- oci/os_management_hub/event_client.py +8 -8
- oci/os_management_hub/lifecycle_environment_client.py +12 -12
- oci/os_management_hub/managed_instance_client.py +31 -31
- oci/os_management_hub/managed_instance_group_client.py +25 -25
- oci/os_management_hub/management_station_client.py +10 -10
- oci/os_management_hub/onboarding_client.py +6 -6
- oci/os_management_hub/reporting_managed_instance_client.py +3 -3
- oci/os_management_hub/scheduled_job_client.py +7 -7
- oci/os_management_hub/software_source_client.py +27 -27
- oci/os_management_hub/work_request_client.py +4 -4
- oci/osp_gateway/address_rule_service_client.py +1 -1
- oci/osp_gateway/address_service_client.py +2 -2
- oci/osp_gateway/invoice_service_client.py +5 -5
- oci/osp_gateway/subscription_service_client.py +5 -5
- oci/osub_billing_schedule/billing_schedule_client.py +1 -1
- oci/osub_organization_subscription/organization_subscription_client.py +1 -1
- oci/osub_subscription/commitment_client.py +2 -2
- oci/osub_subscription/ratecard_client.py +1 -1
- oci/osub_subscription/subscription_client.py +1 -1
- oci/osub_usage/computed_usage_client.py +3 -3
- oci/psql/postgresql_client.py +33 -33
- oci/queue/queue_admin_client.py +11 -11
- oci/queue/queue_client.py +8 -8
- oci/recovery/database_recovery_client.py +135 -25
- oci/recovery/database_recovery_client_composite_operations.py +42 -0
- oci/recovery/models/__init__.py +2 -0
- oci/recovery/models/change_protected_database_subscription_details.py +103 -0
- oci/recovery/models/create_protected_database_details.py +33 -0
- oci/recovery/models/create_protection_policy_details.py +39 -0
- oci/recovery/models/protected_database.py +31 -0
- oci/recovery/models/protected_database_summary.py +31 -0
- oci/recovery/models/protection_policy.py +31 -0
- oci/recovery/models/protection_policy_summary.py +31 -0
- oci/redis/redis_cluster_client.py +12 -12
- oci/regions_definitions.py +3 -0
- oci/resource_manager/resource_manager_client.py +52 -52
- oci/resource_scheduler/schedule_client.py +13 -13
- oci/resource_search/resource_search_client.py +3 -3
- oci/rover/rover_bundle_client.py +8 -8
- oci/rover/rover_cluster_client.py +8 -8
- oci/rover/rover_entitlement_client.py +6 -6
- oci/rover/rover_node_client.py +15 -15
- oci/rover/shape_client.py +1 -1
- oci/rover/work_requests_client.py +5 -5
- oci/sch/connector_plugins_client.py +2 -2
- oci/sch/service_connector_client.py +12 -12
- oci/secrets/secrets_client.py +3 -3
- oci/service_catalog/service_catalog_client.py +26 -26
- oci/service_endpoints.py +1 -0
- oci/service_manager_proxy/service_manager_proxy_client.py +2 -2
- oci/service_mesh/service_mesh_client.py +48 -48
- oci/stack_monitoring/stack_monitoring_client.py +64 -64
- oci/streaming/stream_admin_client.py +18 -18
- oci/streaming/stream_client.py +8 -8
- oci/tenant_manager_control_plane/domain_client.py +5 -5
- oci/tenant_manager_control_plane/domain_governance_client.py +5 -5
- oci/tenant_manager_control_plane/governance_client.py +2 -2
- oci/tenant_manager_control_plane/link_client.py +3 -3
- oci/tenant_manager_control_plane/orders_client.py +2 -2
- oci/tenant_manager_control_plane/organization_client.py +10 -10
- oci/tenant_manager_control_plane/recipient_invitation_client.py +5 -5
- oci/tenant_manager_control_plane/sender_invitation_client.py +5 -5
- oci/tenant_manager_control_plane/subscription_client.py +11 -11
- oci/tenant_manager_control_plane/work_request_client.py +4 -4
- oci/threat_intelligence/threatintel_client.py +5 -5
- oci/usage/resources_client.py +2 -2
- oci/usage/rewards_client.py +6 -6
- oci/usage/usagelimits_client.py +1 -1
- oci/usage_api/usageapi_client.py +33 -33
- oci/vault/vaults_client.py +13 -13
- oci/vbs_inst/vbs_instance_client.py +10 -10
- oci/version.py +1 -1
- oci/visual_builder/vb_instance_client.py +13 -13
- oci/vn_monitoring/vn_monitoring_client.py +12 -12
- oci/vulnerability_scanning/vulnerability_scanning_client.py +58 -58
- oci/waa/waa_client.py +13 -13
- oci/waa/work_request_client.py +4 -4
- oci/waas/redirect_client.py +6 -6
- oci/waas/waas_client.py +66 -66
- oci/waf/models/__init__.py +2 -0
- oci/waf/models/dynamic_http_response_body.py +104 -0
- oci/waf/models/http_response_body.py +11 -3
- oci/waf/models/static_text_http_response_body.py +1 -1
- oci/waf/waf_client.py +24 -24
- oci/work_requests/work_request_client.py +4 -4
- {oci-2.132.0.dist-info → oci-2.134.0.dist-info}/METADATA +1 -1
- {oci-2.132.0.dist-info → oci-2.134.0.dist-info}/RECORD +533 -391
- {oci-2.132.0.dist-info → oci-2.134.0.dist-info}/LICENSE.txt +0 -0
- {oci-2.132.0.dist-info → oci-2.134.0.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
- {oci-2.132.0.dist-info → oci-2.134.0.dist-info}/WHEEL +0 -0
- {oci-2.132.0.dist-info → oci-2.134.0.dist-info}/top_level.txt +0 -0
@@ -157,7 +157,7 @@ class AIServiceSpeechClient(object):
|
|
157
157
|
:rtype: :class:`~oci.response.Response`
|
158
158
|
|
159
159
|
:example:
|
160
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
160
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.134.0/aispeech/cancel_transcription_job.py.html>`__ to see an example of how to use cancel_transcription_job API.
|
161
161
|
"""
|
162
162
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
163
163
|
required_arguments = ['transcriptionJobId']
|
@@ -273,7 +273,7 @@ class AIServiceSpeechClient(object):
|
|
273
273
|
:rtype: :class:`~oci.response.Response`
|
274
274
|
|
275
275
|
:example:
|
276
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
276
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.134.0/aispeech/cancel_transcription_task.py.html>`__ to see an example of how to use cancel_transcription_task API.
|
277
277
|
"""
|
278
278
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
279
279
|
required_arguments = ['transcriptionJobId', 'transcriptionTaskId']
|
@@ -390,7 +390,7 @@ class AIServiceSpeechClient(object):
|
|
390
390
|
:rtype: :class:`~oci.response.Response`
|
391
391
|
|
392
392
|
:example:
|
393
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
393
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.134.0/aispeech/change_customization_compartment.py.html>`__ to see an example of how to use change_customization_compartment API.
|
394
394
|
"""
|
395
395
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
396
396
|
required_arguments = ['customizationId']
|
@@ -508,7 +508,7 @@ class AIServiceSpeechClient(object):
|
|
508
508
|
:rtype: :class:`~oci.response.Response`
|
509
509
|
|
510
510
|
:example:
|
511
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
511
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.134.0/aispeech/change_transcription_job_compartment.py.html>`__ to see an example of how to use change_transcription_job_compartment API.
|
512
512
|
"""
|
513
513
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
514
514
|
required_arguments = ['transcriptionJobId']
|
@@ -616,7 +616,7 @@ class AIServiceSpeechClient(object):
|
|
616
616
|
:rtype: :class:`~oci.response.Response`
|
617
617
|
|
618
618
|
:example:
|
619
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
619
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.134.0/aispeech/create_customization.py.html>`__ to see an example of how to use create_customization API.
|
620
620
|
"""
|
621
621
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
622
622
|
required_arguments = []
|
@@ -712,7 +712,7 @@ class AIServiceSpeechClient(object):
|
|
712
712
|
:rtype: :class:`~oci.response.Response`
|
713
713
|
|
714
714
|
:example:
|
715
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
715
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.134.0/aispeech/create_realtime_session_token.py.html>`__ to see an example of how to use create_realtime_session_token API.
|
716
716
|
"""
|
717
717
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
718
718
|
required_arguments = []
|
@@ -808,7 +808,7 @@ class AIServiceSpeechClient(object):
|
|
808
808
|
:rtype: :class:`~oci.response.Response`
|
809
809
|
|
810
810
|
:example:
|
811
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
811
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.134.0/aispeech/create_transcription_job.py.html>`__ to see an example of how to use create_transcription_job API.
|
812
812
|
"""
|
813
813
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
814
814
|
required_arguments = []
|
@@ -911,7 +911,7 @@ class AIServiceSpeechClient(object):
|
|
911
911
|
:rtype: :class:`~oci.response.Response`
|
912
912
|
|
913
913
|
:example:
|
914
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
914
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.134.0/aispeech/delete_customization.py.html>`__ to see an example of how to use delete_customization API.
|
915
915
|
"""
|
916
916
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
917
917
|
required_arguments = ['customizationId']
|
@@ -1024,7 +1024,7 @@ class AIServiceSpeechClient(object):
|
|
1024
1024
|
:rtype: :class:`~oci.response.Response`
|
1025
1025
|
|
1026
1026
|
:example:
|
1027
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1027
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.134.0/aispeech/delete_transcription_job.py.html>`__ to see an example of how to use delete_transcription_job API.
|
1028
1028
|
"""
|
1029
1029
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1030
1030
|
required_arguments = ['transcriptionJobId']
|
@@ -1123,7 +1123,7 @@ class AIServiceSpeechClient(object):
|
|
1123
1123
|
:rtype: :class:`~oci.response.Response`
|
1124
1124
|
|
1125
1125
|
:example:
|
1126
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1126
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.134.0/aispeech/get_customization.py.html>`__ to see an example of how to use get_customization API.
|
1127
1127
|
"""
|
1128
1128
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1129
1129
|
required_arguments = ['customizationId']
|
@@ -1219,7 +1219,7 @@ class AIServiceSpeechClient(object):
|
|
1219
1219
|
:rtype: :class:`~oci.response.Response`
|
1220
1220
|
|
1221
1221
|
:example:
|
1222
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1222
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.134.0/aispeech/get_transcription_job.py.html>`__ to see an example of how to use get_transcription_job API.
|
1223
1223
|
"""
|
1224
1224
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1225
1225
|
required_arguments = ['transcriptionJobId']
|
@@ -1318,7 +1318,7 @@ class AIServiceSpeechClient(object):
|
|
1318
1318
|
:rtype: :class:`~oci.response.Response`
|
1319
1319
|
|
1320
1320
|
:example:
|
1321
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1321
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.134.0/aispeech/get_transcription_task.py.html>`__ to see an example of how to use get_transcription_task API.
|
1322
1322
|
"""
|
1323
1323
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1324
1324
|
required_arguments = ['transcriptionJobId', 'transcriptionTaskId']
|
@@ -1442,7 +1442,7 @@ class AIServiceSpeechClient(object):
|
|
1442
1442
|
:rtype: :class:`~oci.response.Response`
|
1443
1443
|
|
1444
1444
|
:example:
|
1445
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1445
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.134.0/aispeech/list_customizations.py.html>`__ to see an example of how to use list_customizations API.
|
1446
1446
|
"""
|
1447
1447
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1448
1448
|
required_arguments = []
|
@@ -1596,7 +1596,7 @@ class AIServiceSpeechClient(object):
|
|
1596
1596
|
:rtype: :class:`~oci.response.Response`
|
1597
1597
|
|
1598
1598
|
:example:
|
1599
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1599
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.134.0/aispeech/list_transcription_jobs.py.html>`__ to see an example of how to use list_transcription_jobs API.
|
1600
1600
|
"""
|
1601
1601
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1602
1602
|
required_arguments = []
|
@@ -1750,7 +1750,7 @@ class AIServiceSpeechClient(object):
|
|
1750
1750
|
:rtype: :class:`~oci.response.Response`
|
1751
1751
|
|
1752
1752
|
:example:
|
1753
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1753
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.134.0/aispeech/list_transcription_tasks.py.html>`__ to see an example of how to use list_transcription_tasks API.
|
1754
1754
|
"""
|
1755
1755
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1756
1756
|
required_arguments = ['transcriptionJobId']
|
@@ -1860,6 +1860,203 @@ class AIServiceSpeechClient(object):
|
|
1860
1860
|
api_reference_link=api_reference_link,
|
1861
1861
|
required_arguments=required_arguments)
|
1862
1862
|
|
1863
|
+
def list_voices(self, **kwargs):
|
1864
|
+
"""
|
1865
|
+
Returns a list of speakers available to the user to choose from based on language code and voice type provided.
|
1866
|
+
|
1867
|
+
|
1868
|
+
:param str compartment_id: (optional)
|
1869
|
+
The ID of the compartment in which to list resources.
|
1870
|
+
|
1871
|
+
:param str model_name: (optional)
|
1872
|
+
The model the user wants to run the inference on.
|
1873
|
+
|
1874
|
+
Allowed values are: "TTS_1_STANDARD", "TTS_2_NATURAL"
|
1875
|
+
|
1876
|
+
:param str display_name: (optional)
|
1877
|
+
The name of the speaker voice in which the user wants tts inference to be.
|
1878
|
+
|
1879
|
+
:param str opc_request_id: (optional)
|
1880
|
+
The client request ID for tracing.
|
1881
|
+
|
1882
|
+
:param obj retry_strategy: (optional)
|
1883
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
1884
|
+
|
1885
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
|
1886
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
1887
|
+
|
1888
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
1889
|
+
|
1890
|
+
:param bool allow_control_chars: (optional)
|
1891
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
1892
|
+
By default, the response will not allow control characters in strings
|
1893
|
+
|
1894
|
+
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.ai_speech.models.VoiceCollection`
|
1895
|
+
:rtype: :class:`~oci.response.Response`
|
1896
|
+
|
1897
|
+
:example:
|
1898
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.134.0/aispeech/list_voices.py.html>`__ to see an example of how to use list_voices API.
|
1899
|
+
"""
|
1900
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1901
|
+
required_arguments = []
|
1902
|
+
resource_path = "/voices"
|
1903
|
+
method = "GET"
|
1904
|
+
operation_name = "list_voices"
|
1905
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/speech/20220101/Voice/ListVoices"
|
1906
|
+
|
1907
|
+
# Don't accept unknown kwargs
|
1908
|
+
expected_kwargs = [
|
1909
|
+
"allow_control_chars",
|
1910
|
+
"retry_strategy",
|
1911
|
+
"compartment_id",
|
1912
|
+
"model_name",
|
1913
|
+
"display_name",
|
1914
|
+
"opc_request_id"
|
1915
|
+
]
|
1916
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
1917
|
+
if extra_kwargs:
|
1918
|
+
raise ValueError(
|
1919
|
+
f"list_voices got unknown kwargs: {extra_kwargs!r}")
|
1920
|
+
|
1921
|
+
if 'model_name' in kwargs:
|
1922
|
+
model_name_allowed_values = ["TTS_1_STANDARD", "TTS_2_NATURAL"]
|
1923
|
+
if kwargs['model_name'] not in model_name_allowed_values:
|
1924
|
+
raise ValueError(
|
1925
|
+
f"Invalid value for `model_name`, must be one of { model_name_allowed_values }"
|
1926
|
+
)
|
1927
|
+
|
1928
|
+
query_params = {
|
1929
|
+
"compartmentId": kwargs.get("compartment_id", missing),
|
1930
|
+
"modelName": kwargs.get("model_name", missing),
|
1931
|
+
"displayName": kwargs.get("display_name", missing)
|
1932
|
+
}
|
1933
|
+
query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
|
1934
|
+
|
1935
|
+
header_params = {
|
1936
|
+
"accept": "application/json",
|
1937
|
+
"content-type": "application/json",
|
1938
|
+
"opc-request-id": kwargs.get("opc_request_id", missing)
|
1939
|
+
}
|
1940
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
1941
|
+
|
1942
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
1943
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
1944
|
+
client_retry_strategy=self.retry_strategy
|
1945
|
+
)
|
1946
|
+
|
1947
|
+
if retry_strategy:
|
1948
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
1949
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
1950
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
1951
|
+
return retry_strategy.make_retrying_call(
|
1952
|
+
self.base_client.call_api,
|
1953
|
+
resource_path=resource_path,
|
1954
|
+
method=method,
|
1955
|
+
query_params=query_params,
|
1956
|
+
header_params=header_params,
|
1957
|
+
response_type="VoiceCollection",
|
1958
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
1959
|
+
operation_name=operation_name,
|
1960
|
+
api_reference_link=api_reference_link,
|
1961
|
+
required_arguments=required_arguments)
|
1962
|
+
else:
|
1963
|
+
return self.base_client.call_api(
|
1964
|
+
resource_path=resource_path,
|
1965
|
+
method=method,
|
1966
|
+
query_params=query_params,
|
1967
|
+
header_params=header_params,
|
1968
|
+
response_type="VoiceCollection",
|
1969
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
1970
|
+
operation_name=operation_name,
|
1971
|
+
api_reference_link=api_reference_link,
|
1972
|
+
required_arguments=required_arguments)
|
1973
|
+
|
1974
|
+
def synthesize_speech(self, synthesize_speech_details, **kwargs):
|
1975
|
+
"""
|
1976
|
+
Creates an audio for the given input text based on other input parameters like language, voice type, etc.
|
1977
|
+
|
1978
|
+
|
1979
|
+
:param oci.ai_speech.models.SynthesizeSpeechDetails synthesize_speech_details: (required)
|
1980
|
+
The request to be sent to the TTS service to get required inference audio.
|
1981
|
+
|
1982
|
+
:param str opc_request_id: (optional)
|
1983
|
+
The client request ID for tracing.
|
1984
|
+
|
1985
|
+
:param obj retry_strategy: (optional)
|
1986
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
1987
|
+
|
1988
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
|
1989
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
1990
|
+
|
1991
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
1992
|
+
|
1993
|
+
:param bool allow_control_chars: (optional)
|
1994
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
1995
|
+
By default, the response will not allow control characters in strings
|
1996
|
+
|
1997
|
+
:return: A :class:`~oci.response.Response` object with data of type stream
|
1998
|
+
:rtype: :class:`~oci.response.Response`
|
1999
|
+
|
2000
|
+
:example:
|
2001
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.134.0/aispeech/synthesize_speech.py.html>`__ to see an example of how to use synthesize_speech API.
|
2002
|
+
"""
|
2003
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2004
|
+
required_arguments = []
|
2005
|
+
resource_path = "/actions/synthesizeSpeech"
|
2006
|
+
method = "POST"
|
2007
|
+
operation_name = "synthesize_speech"
|
2008
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/speech/20220101/SynthesizeSpeech/SynthesizeSpeech"
|
2009
|
+
|
2010
|
+
# Don't accept unknown kwargs
|
2011
|
+
expected_kwargs = [
|
2012
|
+
"allow_control_chars",
|
2013
|
+
"retry_strategy",
|
2014
|
+
"opc_request_id"
|
2015
|
+
]
|
2016
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
2017
|
+
if extra_kwargs:
|
2018
|
+
raise ValueError(
|
2019
|
+
f"synthesize_speech got unknown kwargs: {extra_kwargs!r}")
|
2020
|
+
|
2021
|
+
header_params = {
|
2022
|
+
"accept": "audio/mpeg, audio/ogg, audio/pcm, audio/json",
|
2023
|
+
"content-type": "application/json",
|
2024
|
+
"opc-request-id": kwargs.get("opc_request_id", missing)
|
2025
|
+
}
|
2026
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
2027
|
+
|
2028
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
2029
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
2030
|
+
client_retry_strategy=self.retry_strategy
|
2031
|
+
)
|
2032
|
+
|
2033
|
+
if retry_strategy:
|
2034
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
2035
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
2036
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
2037
|
+
return retry_strategy.make_retrying_call(
|
2038
|
+
self.base_client.call_api,
|
2039
|
+
resource_path=resource_path,
|
2040
|
+
method=method,
|
2041
|
+
header_params=header_params,
|
2042
|
+
body=synthesize_speech_details,
|
2043
|
+
response_type="stream",
|
2044
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
2045
|
+
operation_name=operation_name,
|
2046
|
+
api_reference_link=api_reference_link,
|
2047
|
+
required_arguments=required_arguments)
|
2048
|
+
else:
|
2049
|
+
return self.base_client.call_api(
|
2050
|
+
resource_path=resource_path,
|
2051
|
+
method=method,
|
2052
|
+
header_params=header_params,
|
2053
|
+
body=synthesize_speech_details,
|
2054
|
+
response_type="stream",
|
2055
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
2056
|
+
operation_name=operation_name,
|
2057
|
+
api_reference_link=api_reference_link,
|
2058
|
+
required_arguments=required_arguments)
|
2059
|
+
|
1863
2060
|
def update_customization(self, customization_id, update_customization_details, **kwargs):
|
1864
2061
|
"""
|
1865
2062
|
Updates a Customization by identifier
|
@@ -1897,7 +2094,7 @@ class AIServiceSpeechClient(object):
|
|
1897
2094
|
:rtype: :class:`~oci.response.Response`
|
1898
2095
|
|
1899
2096
|
:example:
|
1900
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2097
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.134.0/aispeech/update_customization.py.html>`__ to see an example of how to use update_customization API.
|
1901
2098
|
"""
|
1902
2099
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1903
2100
|
required_arguments = ['customizationId']
|
@@ -2007,7 +2204,7 @@ class AIServiceSpeechClient(object):
|
|
2007
2204
|
:rtype: :class:`~oci.response.Response`
|
2008
2205
|
|
2009
2206
|
:example:
|
2010
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2207
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.134.0/aispeech/update_transcription_job.py.html>`__ to see an example of how to use update_transcription_job API.
|
2011
2208
|
"""
|
2012
2209
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2013
2210
|
required_arguments = ['transcriptionJobId']
|
oci/ai_speech/models/__init__.py
CHANGED
@@ -50,6 +50,7 @@ from .realtime_message_send_final_result import RealtimeMessageSendFinalResult
|
|
50
50
|
from .realtime_model_details import RealtimeModelDetails
|
51
51
|
from .realtime_parameters import RealtimeParameters
|
52
52
|
from .realtime_session_token import RealtimeSessionToken
|
53
|
+
from .synthesize_speech_details import SynthesizeSpeechDetails
|
53
54
|
from .transcription_filter import TranscriptionFilter
|
54
55
|
from .transcription_job import TranscriptionJob
|
55
56
|
from .transcription_job_collection import TranscriptionJobCollection
|
@@ -60,8 +61,18 @@ from .transcription_settings import TranscriptionSettings
|
|
60
61
|
from .transcription_task import TranscriptionTask
|
61
62
|
from .transcription_task_collection import TranscriptionTaskCollection
|
62
63
|
from .transcription_task_summary import TranscriptionTaskSummary
|
64
|
+
from .tts_audio_config import TtsAudioConfig
|
65
|
+
from .tts_base_audio_config import TtsBaseAudioConfig
|
66
|
+
from .tts_configuration import TtsConfiguration
|
67
|
+
from .tts_oracle_configuration import TtsOracleConfiguration
|
68
|
+
from .tts_oracle_model_details import TtsOracleModelDetails
|
69
|
+
from .tts_oracle_speech_settings import TtsOracleSpeechSettings
|
70
|
+
from .tts_oracle_tts1_standard_model_details import TtsOracleTts1StandardModelDetails
|
71
|
+
from .tts_oracle_tts2_natural_model_details import TtsOracleTts2NaturalModelDetails
|
63
72
|
from .update_customization_details import UpdateCustomizationDetails
|
64
73
|
from .update_transcription_job_details import UpdateTranscriptionJobDetails
|
74
|
+
from .voice_collection import VoiceCollection
|
75
|
+
from .voice_summary import VoiceSummary
|
65
76
|
|
66
77
|
# Maps type names to classes for ai_speech services.
|
67
78
|
ai_speech_type_mapping = {
|
@@ -109,6 +120,7 @@ ai_speech_type_mapping = {
|
|
109
120
|
"RealtimeModelDetails": RealtimeModelDetails,
|
110
121
|
"RealtimeParameters": RealtimeParameters,
|
111
122
|
"RealtimeSessionToken": RealtimeSessionToken,
|
123
|
+
"SynthesizeSpeechDetails": SynthesizeSpeechDetails,
|
112
124
|
"TranscriptionFilter": TranscriptionFilter,
|
113
125
|
"TranscriptionJob": TranscriptionJob,
|
114
126
|
"TranscriptionJobCollection": TranscriptionJobCollection,
|
@@ -119,6 +131,16 @@ ai_speech_type_mapping = {
|
|
119
131
|
"TranscriptionTask": TranscriptionTask,
|
120
132
|
"TranscriptionTaskCollection": TranscriptionTaskCollection,
|
121
133
|
"TranscriptionTaskSummary": TranscriptionTaskSummary,
|
134
|
+
"TtsAudioConfig": TtsAudioConfig,
|
135
|
+
"TtsBaseAudioConfig": TtsBaseAudioConfig,
|
136
|
+
"TtsConfiguration": TtsConfiguration,
|
137
|
+
"TtsOracleConfiguration": TtsOracleConfiguration,
|
138
|
+
"TtsOracleModelDetails": TtsOracleModelDetails,
|
139
|
+
"TtsOracleSpeechSettings": TtsOracleSpeechSettings,
|
140
|
+
"TtsOracleTts1StandardModelDetails": TtsOracleTts1StandardModelDetails,
|
141
|
+
"TtsOracleTts2NaturalModelDetails": TtsOracleTts2NaturalModelDetails,
|
122
142
|
"UpdateCustomizationDetails": UpdateCustomizationDetails,
|
123
|
-
"UpdateTranscriptionJobDetails": UpdateTranscriptionJobDetails
|
143
|
+
"UpdateTranscriptionJobDetails": UpdateTranscriptionJobDetails,
|
144
|
+
"VoiceCollection": VoiceCollection,
|
145
|
+
"VoiceSummary": VoiceSummary
|
124
146
|
}
|
@@ -0,0 +1,196 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
# Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
|
3
|
+
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
4
|
+
|
5
|
+
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20220101
|
6
|
+
|
7
|
+
|
8
|
+
from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
|
9
|
+
from oci.decorators import init_model_state_from_kwargs
|
10
|
+
|
11
|
+
|
12
|
+
@init_model_state_from_kwargs
|
13
|
+
class SynthesizeSpeechDetails(object):
|
14
|
+
"""
|
15
|
+
Input JSON to get audio inference from TTS Service.
|
16
|
+
"""
|
17
|
+
|
18
|
+
def __init__(self, **kwargs):
|
19
|
+
"""
|
20
|
+
Initializes a new SynthesizeSpeechDetails object with values from keyword arguments.
|
21
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
22
|
+
|
23
|
+
:param text:
|
24
|
+
The value to assign to the text property of this SynthesizeSpeechDetails.
|
25
|
+
:type text: str
|
26
|
+
|
27
|
+
:param is_stream_enabled:
|
28
|
+
The value to assign to the is_stream_enabled property of this SynthesizeSpeechDetails.
|
29
|
+
:type is_stream_enabled: bool
|
30
|
+
|
31
|
+
:param compartment_id:
|
32
|
+
The value to assign to the compartment_id property of this SynthesizeSpeechDetails.
|
33
|
+
:type compartment_id: str
|
34
|
+
|
35
|
+
:param configuration:
|
36
|
+
The value to assign to the configuration property of this SynthesizeSpeechDetails.
|
37
|
+
:type configuration: oci.ai_speech.models.TtsConfiguration
|
38
|
+
|
39
|
+
:param audio_config:
|
40
|
+
The value to assign to the audio_config property of this SynthesizeSpeechDetails.
|
41
|
+
:type audio_config: oci.ai_speech.models.TtsAudioConfig
|
42
|
+
|
43
|
+
"""
|
44
|
+
self.swagger_types = {
|
45
|
+
'text': 'str',
|
46
|
+
'is_stream_enabled': 'bool',
|
47
|
+
'compartment_id': 'str',
|
48
|
+
'configuration': 'TtsConfiguration',
|
49
|
+
'audio_config': 'TtsAudioConfig'
|
50
|
+
}
|
51
|
+
|
52
|
+
self.attribute_map = {
|
53
|
+
'text': 'text',
|
54
|
+
'is_stream_enabled': 'isStreamEnabled',
|
55
|
+
'compartment_id': 'compartmentId',
|
56
|
+
'configuration': 'configuration',
|
57
|
+
'audio_config': 'audioConfig'
|
58
|
+
}
|
59
|
+
|
60
|
+
self._text = None
|
61
|
+
self._is_stream_enabled = None
|
62
|
+
self._compartment_id = None
|
63
|
+
self._configuration = None
|
64
|
+
self._audio_config = None
|
65
|
+
|
66
|
+
@property
|
67
|
+
def text(self):
|
68
|
+
"""
|
69
|
+
**[Required]** Gets the text of this SynthesizeSpeechDetails.
|
70
|
+
The text input to get the inference audio from TTS Service.
|
71
|
+
|
72
|
+
|
73
|
+
:return: The text of this SynthesizeSpeechDetails.
|
74
|
+
:rtype: str
|
75
|
+
"""
|
76
|
+
return self._text
|
77
|
+
|
78
|
+
@text.setter
|
79
|
+
def text(self, text):
|
80
|
+
"""
|
81
|
+
Sets the text of this SynthesizeSpeechDetails.
|
82
|
+
The text input to get the inference audio from TTS Service.
|
83
|
+
|
84
|
+
|
85
|
+
:param text: The text of this SynthesizeSpeechDetails.
|
86
|
+
:type: str
|
87
|
+
"""
|
88
|
+
self._text = text
|
89
|
+
|
90
|
+
@property
|
91
|
+
def is_stream_enabled(self):
|
92
|
+
"""
|
93
|
+
Gets the is_stream_enabled of this SynthesizeSpeechDetails.
|
94
|
+
If set to true, response will be sent in the chunked transfer-encoding and audio chunks
|
95
|
+
are sent back as and when they are ready. If set to false, response will be sent only once
|
96
|
+
the entire audio is generated.
|
97
|
+
|
98
|
+
|
99
|
+
:return: The is_stream_enabled of this SynthesizeSpeechDetails.
|
100
|
+
:rtype: bool
|
101
|
+
"""
|
102
|
+
return self._is_stream_enabled
|
103
|
+
|
104
|
+
@is_stream_enabled.setter
|
105
|
+
def is_stream_enabled(self, is_stream_enabled):
|
106
|
+
"""
|
107
|
+
Sets the is_stream_enabled of this SynthesizeSpeechDetails.
|
108
|
+
If set to true, response will be sent in the chunked transfer-encoding and audio chunks
|
109
|
+
are sent back as and when they are ready. If set to false, response will be sent only once
|
110
|
+
the entire audio is generated.
|
111
|
+
|
112
|
+
|
113
|
+
:param is_stream_enabled: The is_stream_enabled of this SynthesizeSpeechDetails.
|
114
|
+
:type: bool
|
115
|
+
"""
|
116
|
+
self._is_stream_enabled = is_stream_enabled
|
117
|
+
|
118
|
+
@property
|
119
|
+
def compartment_id(self):
|
120
|
+
"""
|
121
|
+
Gets the compartment_id of this SynthesizeSpeechDetails.
|
122
|
+
The `OCID`__ of the compartment where the user has access to call `SpeechSynthesize` api. But default user access will be checked at tenancy level.
|
123
|
+
|
124
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
125
|
+
|
126
|
+
|
127
|
+
:return: The compartment_id of this SynthesizeSpeechDetails.
|
128
|
+
:rtype: str
|
129
|
+
"""
|
130
|
+
return self._compartment_id
|
131
|
+
|
132
|
+
@compartment_id.setter
|
133
|
+
def compartment_id(self, compartment_id):
|
134
|
+
"""
|
135
|
+
Sets the compartment_id of this SynthesizeSpeechDetails.
|
136
|
+
The `OCID`__ of the compartment where the user has access to call `SpeechSynthesize` api. But default user access will be checked at tenancy level.
|
137
|
+
|
138
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
139
|
+
|
140
|
+
|
141
|
+
:param compartment_id: The compartment_id of this SynthesizeSpeechDetails.
|
142
|
+
:type: str
|
143
|
+
"""
|
144
|
+
self._compartment_id = compartment_id
|
145
|
+
|
146
|
+
@property
|
147
|
+
def configuration(self):
|
148
|
+
"""
|
149
|
+
Gets the configuration of this SynthesizeSpeechDetails.
|
150
|
+
|
151
|
+
:return: The configuration of this SynthesizeSpeechDetails.
|
152
|
+
:rtype: oci.ai_speech.models.TtsConfiguration
|
153
|
+
"""
|
154
|
+
return self._configuration
|
155
|
+
|
156
|
+
@configuration.setter
|
157
|
+
def configuration(self, configuration):
|
158
|
+
"""
|
159
|
+
Sets the configuration of this SynthesizeSpeechDetails.
|
160
|
+
|
161
|
+
:param configuration: The configuration of this SynthesizeSpeechDetails.
|
162
|
+
:type: oci.ai_speech.models.TtsConfiguration
|
163
|
+
"""
|
164
|
+
self._configuration = configuration
|
165
|
+
|
166
|
+
@property
|
167
|
+
def audio_config(self):
|
168
|
+
"""
|
169
|
+
Gets the audio_config of this SynthesizeSpeechDetails.
|
170
|
+
|
171
|
+
:return: The audio_config of this SynthesizeSpeechDetails.
|
172
|
+
:rtype: oci.ai_speech.models.TtsAudioConfig
|
173
|
+
"""
|
174
|
+
return self._audio_config
|
175
|
+
|
176
|
+
@audio_config.setter
|
177
|
+
def audio_config(self, audio_config):
|
178
|
+
"""
|
179
|
+
Sets the audio_config of this SynthesizeSpeechDetails.
|
180
|
+
|
181
|
+
:param audio_config: The audio_config of this SynthesizeSpeechDetails.
|
182
|
+
:type: oci.ai_speech.models.TtsAudioConfig
|
183
|
+
"""
|
184
|
+
self._audio_config = audio_config
|
185
|
+
|
186
|
+
def __repr__(self):
|
187
|
+
return formatted_flat_dict(self)
|
188
|
+
|
189
|
+
def __eq__(self, other):
|
190
|
+
if other is None:
|
191
|
+
return False
|
192
|
+
|
193
|
+
return self.__dict__ == other.__dict__
|
194
|
+
|
195
|
+
def __ne__(self, other):
|
196
|
+
return not self == other
|