oci 2.123.0__py3-none-any.whl → 2.124.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- oci/access_governance_cp/access_governance_cp_client.py +8 -8
- oci/adm/application_dependency_management_client.py +36 -36
- oci/ai_anomaly_detection/anomaly_detection_client.py +36 -36
- oci/ai_document/ai_service_document_client.py +22 -22
- oci/ai_language/ai_service_language_client.py +36 -36
- oci/ai_speech/ai_service_speech_client.py +122 -9
- oci/ai_speech/ai_service_speech_client_composite_operations.py +59 -0
- oci/ai_speech/models/transcription_model_details.py +390 -7
- oci/ai_vision/ai_service_vision_client.py +25 -25
- oci/analytics/analytics_client.py +23 -23
- oci/announcements_service/announcement_client.py +4 -4
- oci/announcements_service/announcement_subscription_client.py +9 -9
- oci/announcements_service/announcements_preferences_client.py +4 -4
- oci/apigateway/api_gateway_client.py +21 -21
- oci/apigateway/deployment_client.py +6 -6
- oci/apigateway/gateway_client.py +6 -6
- oci/apigateway/subscribers_client.py +6 -6
- oci/apigateway/usage_plans_client.py +6 -6
- oci/apigateway/work_requests_client.py +5 -5
- oci/apm_config/config_client.py +8 -8
- oci/apm_control_plane/apm_domain_client.py +14 -14
- oci/apm_synthetics/apm_synthetic_client.py +28 -28
- oci/apm_traces/query_client.py +2 -2
- oci/apm_traces/trace_client.py +4 -4
- oci/application_migration/application_migration_client.py +19 -19
- oci/appmgmt_control/appmgmt_control_client.py +8 -8
- oci/artifacts/artifacts_client.py +32 -32
- oci/audit/audit_client.py +3 -3
- oci/autoscaling/auto_scaling_client.py +11 -11
- oci/bastion/bastion_client.py +15 -15
- oci/bds/bds_client.py +51 -51
- oci/blockchain/blockchain_platform_client.py +27 -27
- oci/budget/budget_client.py +10 -10
- oci/capacity_management/capacity_management_client.py +19 -19
- oci/certificates/certificates_client.py +5 -5
- oci/certificates_management/certificates_management_client.py +32 -32
- oci/cims/incident_client.py +8 -8
- oci/cims/user_client.py +1 -1
- oci/cloud_bridge/common_client.py +5 -5
- oci/cloud_bridge/discovery_client.py +14 -14
- oci/cloud_bridge/inventory_client.py +16 -16
- oci/cloud_bridge/ocb_agent_svc_client.py +23 -23
- oci/cloud_guard/cloud_guard_client.py +133 -133
- oci/cloud_migrations/migration_client.py +43 -43
- oci/compute_cloud_at_customer/compute_cloud_at_customer_client.py +12 -12
- oci/compute_instance_agent/compute_instance_agent_client.py +6 -6
- oci/compute_instance_agent/plugin_client.py +2 -2
- oci/compute_instance_agent/pluginconfig_client.py +1 -1
- oci/container_engine/container_engine_client.py +44 -44
- oci/container_instances/container_instance_client.py +21 -21
- oci/container_instances/models/__init__.py +2 -0
- oci/container_instances/models/container_capabilities.py +239 -0
- oci/container_instances/models/create_linux_security_context_details.py +29 -2
- oci/container_instances/models/linux_security_context.py +29 -2
- oci/core/blockstorage_client.py +60 -60
- oci/core/compute_client.py +99 -99
- oci/core/compute_management_client.py +32 -32
- oci/core/models/emulated_volume_attachment.py +9 -2
- oci/core/models/i_scsi_volume_attachment.py +7 -0
- oci/core/models/paravirtualized_volume_attachment.py +9 -2
- oci/core/models/volume_attachment.py +35 -2
- oci/core/virtual_network_client.py +242 -242
- oci/dashboard_service/dashboard_client.py +6 -6
- oci/dashboard_service/dashboard_group_client.py +6 -6
- oci/data_catalog/data_catalog_client.py +148 -148
- 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 +272 -272
- oci/data_science/data_science_client.py +91 -91
- oci/data_science/models/__init__.py +22 -0
- oci/data_science/models/auto_scaling_policy.py +148 -0
- oci/data_science/models/auto_scaling_policy_details.py +104 -0
- oci/data_science/models/custom_expression_query_scaling_configuration.py +124 -0
- oci/data_science/models/custom_metric_expression_rule.py +105 -0
- oci/data_science/models/fixed_size_scaling_policy.py +1 -1
- oci/data_science/models/instance_pool_model_deployment_system_data.py +82 -0
- oci/data_science/models/metric_expression_rule.py +121 -0
- oci/data_science/models/model_configuration_details.py +33 -2
- oci/data_science/models/model_deployment.py +27 -0
- oci/data_science/models/model_deployment_instance_shape_config_details.py +61 -2
- oci/data_science/models/model_deployment_system_data.py +101 -0
- oci/data_science/models/predefined_expression_threshold_scaling_configuration.py +97 -0
- oci/data_science/models/predefined_metric_expression_rule.py +153 -0
- oci/data_science/models/scaling_configuration.py +185 -0
- oci/data_science/models/scaling_policy.py +11 -3
- oci/data_science/models/threshold_based_auto_scaling_policy_details.py +187 -0
- oci/data_science/models/update_model_configuration_details.py +33 -2
- oci/database/database_client.py +327 -327
- oci/database/models/autonomous_container_database.py +158 -2
- oci/database/models/autonomous_container_database_summary.py +158 -2
- oci/database/models/autonomous_database.py +80 -2
- oci/database/models/autonomous_database_summary.py +80 -2
- oci/database/models/create_autonomous_container_database_details.py +158 -2
- oci/database/models/create_autonomous_database_base.py +31 -0
- oci/database/models/create_autonomous_database_clone_details.py +7 -0
- oci/database/models/create_autonomous_database_details.py +7 -0
- oci/database/models/create_autonomous_database_from_backup_details.py +7 -0
- oci/database/models/create_autonomous_database_from_backup_timestamp_details.py +7 -0
- oci/database/models/create_cross_region_autonomous_database_data_guard_details.py +7 -0
- oci/database/models/create_cross_region_disaster_recovery_details.py +7 -0
- oci/database/models/create_refreshable_autonomous_database_clone_details.py +7 -0
- oci/database/models/update_autonomous_database_details.py +31 -0
- oci/database_management/db_management_client.py +194 -194
- oci/database_management/diagnosability_client.py +4 -4
- oci/database_management/managed_my_sql_databases_client.py +6 -6
- oci/database_management/perfhub_client.py +1 -1
- oci/database_management/sql_tuning_client.py +17 -17
- oci/database_migration/database_migration_client.py +41 -41
- oci/database_tools/database_tools_client.py +23 -23
- oci/desktops/desktop_service_client.py +42 -42
- oci/devops/devops_client.py +89 -89
- oci/disaster_recovery/disaster_recovery_client.py +29 -29
- oci/dns/dns_client.py +52 -52
- oci/dts/appliance_export_job_client.py +6 -6
- oci/dts/shipping_vendors_client.py +1 -1
- oci/dts/transfer_appliance_client.py +8 -8
- oci/dts/transfer_appliance_entitlement_client.py +3 -3
- oci/dts/transfer_device_client.py +5 -5
- oci/dts/transfer_job_client.py +6 -6
- oci/dts/transfer_package_client.py +7 -7
- oci/em_warehouse/em_data_lake_client.py +13 -13
- oci/em_warehouse/em_warehouse_client.py +13 -13
- oci/email/email_client.py +25 -25
- oci/events/events_client.py +6 -6
- oci/file_storage/file_storage_client.py +50 -50
- oci/fleet_software_update/fleet_software_update_client.py +44 -44
- oci/functions/functions_invoke_client.py +1 -1
- oci/functions/functions_management_client.py +16 -16
- oci/fusion_apps/data_masking_activity_client.py +3 -3
- oci/fusion_apps/fusion_applications_client.py +39 -39
- oci/fusion_apps/fusion_environment_client.py +15 -15
- oci/fusion_apps/fusion_environment_family_client.py +8 -8
- oci/fusion_apps/refresh_activity_client.py +4 -4
- oci/fusion_apps/scheduled_activity_client.py +2 -2
- oci/fusion_apps/service_attachment_client.py +2 -2
- oci/generative_ai/generative_ai_client.py +22 -22
- oci/generative_ai_inference/generative_ai_inference_client.py +3 -3
- oci/generic_artifacts_content/generic_artifacts_content_client.py +3 -3
- oci/globally_distributed_database/sharded_database_service_client.py +29 -29
- oci/golden_gate/golden_gate_client.py +61 -61
- 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 +300 -300
- oci/integration/integration_instance_client.py +15 -15
- oci/jms/java_management_service_client.py +66 -66
- oci/jms_java_downloads/java_download_client.py +25 -25
- oci/key_management/ekm_client.py +5 -5
- oci/key_management/kms_crypto_client.py +6 -6
- oci/key_management/kms_hsm_cluster_client.py +12 -12
- oci/key_management/kms_management_client.py +21 -21
- oci/key_management/kms_vault_client.py +14 -14
- oci/license_manager/license_manager_client.py +18 -18
- oci/limits/limits_client.py +4 -4
- oci/limits/quotas_client.py +7 -7
- oci/load_balancer/load_balancer_client.py +61 -61
- oci/lockbox/lockbox_client.py +23 -23
- oci/log_analytics/log_analytics_client.py +193 -193
- oci/logging/logging_management_client.py +30 -30
- oci/loggingingestion/logging_client.py +1 -1
- oci/loggingsearch/log_search_client.py +1 -1
- oci/management_agent/management_agent_client.py +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_publisher/marketplace_publisher_client.py +71 -71
- 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 +6 -6
- oci/mysql/db_system_client.py +17 -17
- oci/mysql/mysqlaas_client.py +7 -7
- oci/mysql/replicas_client.py +5 -5
- oci/mysql/work_requests_client.py +4 -4
- oci/network_firewall/network_firewall_client.py +80 -80
- oci/network_load_balancer/network_load_balancer_client.py +34 -34
- oci/nosql/nosql_client.py +24 -24
- oci/object_storage/object_storage_client.py +50 -50
- oci/oce/oce_instance_client.py +10 -10
- oci/oci_control_center/occ_metrics_client.py +3 -3
- oci/ocvp/cluster_client.py +5 -5
- oci/ocvp/esxi_host_client.py +8 -8
- oci/ocvp/sddc_client.py +14 -14
- oci/ocvp/work_request_client.py +4 -4
- oci/oda/management_client.py +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 +11 -11
- oci/opensearch/opensearch_cluster_backup_client.py +4 -4
- oci/opensearch/opensearch_cluster_client.py +14 -14
- oci/operator_access_control/access_requests_client.py +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/models/__init__.py +2 -0
- oci/opsi/models/create_news_report_details.py +100 -2
- oci/opsi/models/news_content_types.py +189 -3
- oci/opsi/models/news_report.py +100 -2
- oci/opsi/models/news_report_summary.py +100 -2
- oci/opsi/models/update_host_insight_details.py +4 -0
- oci/opsi/models/update_news_report_details.py +162 -2
- oci/opsi/models/update_pe_comanaged_host_insight_details.py +65 -0
- oci/opsi/operations_insights_client.py +175 -175
- 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/lifecycle_environment_client.py +11 -11
- oci/os_management_hub/managed_instance_client.py +22 -22
- oci/os_management_hub/managed_instance_group_client.py +22 -22
- oci/os_management_hub/management_station_client.py +8 -8
- oci/os_management_hub/onboarding_client.py +5 -5
- oci/os_management_hub/reporting_managed_instance_client.py +3 -3
- oci/os_management_hub/scheduled_job_client.py +6 -6
- oci/os_management_hub/software_source_client.py +22 -22
- oci/os_management_hub/work_request_client.py +4 -4
- oci/osp_gateway/address_rule_service_client.py +2 -2
- oci/osp_gateway/address_service_client.py +3 -3
- oci/osp_gateway/invoice_service_client.py +6 -6
- oci/osp_gateway/subscription_service_client.py +6 -6
- 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 +23 -23
- oci/redis/redis_cluster_client.py +11 -11
- oci/resource_manager/resource_manager_client.py +52 -52
- oci/resource_search/resource_search_client.py +3 -3
- oci/rover/rover_bundle_client.py +8 -8
- oci/rover/rover_cluster_client.py +8 -8
- oci/rover/rover_entitlement_client.py +6 -6
- oci/rover/rover_node_client.py +15 -15
- oci/rover/shape_client.py +1 -1
- oci/rover/work_requests_client.py +5 -5
- oci/sch/connector_plugins_client.py +4 -4
- oci/sch/service_connector_client.py +24 -24
- oci/secrets/secrets_client.py +3 -3
- oci/service_catalog/service_catalog_client.py +26 -26
- oci/service_manager_proxy/service_manager_proxy_client.py +2 -2
- oci/service_mesh/service_mesh_client.py +48 -48
- oci/stack_monitoring/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 +28 -28
- 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/waf_client.py +24 -24
- oci/work_requests/work_request_client.py +4 -4
- {oci-2.123.0.dist-info → oci-2.124.1.dist-info}/METADATA +1 -1
- {oci-2.123.0.dist-info → oci-2.124.1.dist-info}/RECORD +295 -282
- {oci-2.123.0.dist-info → oci-2.124.1.dist-info}/LICENSE.txt +0 -0
- {oci-2.123.0.dist-info → oci-2.124.1.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
- {oci-2.123.0.dist-info → oci-2.124.1.dist-info}/WHEEL +0 -0
- {oci-2.123.0.dist-info → oci-2.124.1.dist-info}/top_level.txt +0 -0
@@ -154,7 +154,7 @@ class AIServiceLanguageClient(object):
|
|
154
154
|
:rtype: :class:`~oci.response.Response`
|
155
155
|
|
156
156
|
:example:
|
157
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
157
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.124.1/ailanguage/batch_detect_dominant_language.py.html>`__ to see an example of how to use batch_detect_dominant_language API.
|
158
158
|
"""
|
159
159
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
160
160
|
required_arguments = []
|
@@ -249,7 +249,7 @@ class AIServiceLanguageClient(object):
|
|
249
249
|
:rtype: :class:`~oci.response.Response`
|
250
250
|
|
251
251
|
:example:
|
252
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
252
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.124.1/ailanguage/batch_detect_language_entities.py.html>`__ to see an example of how to use batch_detect_language_entities API.
|
253
253
|
"""
|
254
254
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
255
255
|
required_arguments = []
|
@@ -340,7 +340,7 @@ class AIServiceLanguageClient(object):
|
|
340
340
|
:rtype: :class:`~oci.response.Response`
|
341
341
|
|
342
342
|
:example:
|
343
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
343
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.124.1/ailanguage/batch_detect_language_key_phrases.py.html>`__ to see an example of how to use batch_detect_language_key_phrases API.
|
344
344
|
"""
|
345
345
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
346
346
|
required_arguments = []
|
@@ -431,7 +431,7 @@ class AIServiceLanguageClient(object):
|
|
431
431
|
:rtype: :class:`~oci.response.Response`
|
432
432
|
|
433
433
|
:example:
|
434
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
434
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.124.1/ailanguage/batch_detect_language_pii_entities.py.html>`__ to see an example of how to use batch_detect_language_pii_entities API.
|
435
435
|
"""
|
436
436
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
437
437
|
required_arguments = []
|
@@ -538,7 +538,7 @@ class AIServiceLanguageClient(object):
|
|
538
538
|
:rtype: :class:`~oci.response.Response`
|
539
539
|
|
540
540
|
:example:
|
541
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
541
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.124.1/ailanguage/batch_detect_language_sentiments.py.html>`__ to see an example of how to use batch_detect_language_sentiments API.
|
542
542
|
"""
|
543
543
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
544
544
|
required_arguments = []
|
@@ -651,7 +651,7 @@ class AIServiceLanguageClient(object):
|
|
651
651
|
:rtype: :class:`~oci.response.Response`
|
652
652
|
|
653
653
|
:example:
|
654
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
654
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.124.1/ailanguage/batch_detect_language_text_classification.py.html>`__ to see an example of how to use batch_detect_language_text_classification API.
|
655
655
|
"""
|
656
656
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
657
657
|
required_arguments = []
|
@@ -741,7 +741,7 @@ class AIServiceLanguageClient(object):
|
|
741
741
|
:rtype: :class:`~oci.response.Response`
|
742
742
|
|
743
743
|
:example:
|
744
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
744
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.124.1/ailanguage/batch_language_translation.py.html>`__ to see an example of how to use batch_language_translation API.
|
745
745
|
"""
|
746
746
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
747
747
|
required_arguments = []
|
@@ -842,7 +842,7 @@ class AIServiceLanguageClient(object):
|
|
842
842
|
:rtype: :class:`~oci.response.Response`
|
843
843
|
|
844
844
|
:example:
|
845
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
845
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.124.1/ailanguage/change_endpoint_compartment.py.html>`__ to see an example of how to use change_endpoint_compartment API.
|
846
846
|
"""
|
847
847
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
848
848
|
required_arguments = ['endpointId']
|
@@ -960,7 +960,7 @@ class AIServiceLanguageClient(object):
|
|
960
960
|
:rtype: :class:`~oci.response.Response`
|
961
961
|
|
962
962
|
:example:
|
963
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
963
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.124.1/ailanguage/change_model_compartment.py.html>`__ to see an example of how to use change_model_compartment API.
|
964
964
|
"""
|
965
965
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
966
966
|
required_arguments = ['modelId']
|
@@ -1078,7 +1078,7 @@ class AIServiceLanguageClient(object):
|
|
1078
1078
|
:rtype: :class:`~oci.response.Response`
|
1079
1079
|
|
1080
1080
|
:example:
|
1081
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1081
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.124.1/ailanguage/change_project_compartment.py.html>`__ to see an example of how to use change_project_compartment API.
|
1082
1082
|
"""
|
1083
1083
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1084
1084
|
required_arguments = ['projectId']
|
@@ -1188,7 +1188,7 @@ class AIServiceLanguageClient(object):
|
|
1188
1188
|
:rtype: :class:`~oci.response.Response`
|
1189
1189
|
|
1190
1190
|
:example:
|
1191
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1191
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.124.1/ailanguage/create_endpoint.py.html>`__ to see an example of how to use create_endpoint API.
|
1192
1192
|
"""
|
1193
1193
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1194
1194
|
required_arguments = []
|
@@ -1286,7 +1286,7 @@ class AIServiceLanguageClient(object):
|
|
1286
1286
|
:rtype: :class:`~oci.response.Response`
|
1287
1287
|
|
1288
1288
|
:example:
|
1289
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1289
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.124.1/ailanguage/create_model.py.html>`__ to see an example of how to use create_model API.
|
1290
1290
|
"""
|
1291
1291
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1292
1292
|
required_arguments = []
|
@@ -1384,7 +1384,7 @@ class AIServiceLanguageClient(object):
|
|
1384
1384
|
:rtype: :class:`~oci.response.Response`
|
1385
1385
|
|
1386
1386
|
:example:
|
1387
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1387
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.124.1/ailanguage/create_project.py.html>`__ to see an example of how to use create_project API.
|
1388
1388
|
"""
|
1389
1389
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1390
1390
|
required_arguments = []
|
@@ -1482,7 +1482,7 @@ class AIServiceLanguageClient(object):
|
|
1482
1482
|
:rtype: :class:`~oci.response.Response`
|
1483
1483
|
|
1484
1484
|
:example:
|
1485
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1485
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.124.1/ailanguage/delete_endpoint.py.html>`__ to see an example of how to use delete_endpoint API.
|
1486
1486
|
"""
|
1487
1487
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1488
1488
|
required_arguments = ['endpointId']
|
@@ -1587,7 +1587,7 @@ class AIServiceLanguageClient(object):
|
|
1587
1587
|
:rtype: :class:`~oci.response.Response`
|
1588
1588
|
|
1589
1589
|
:example:
|
1590
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1590
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.124.1/ailanguage/delete_model.py.html>`__ to see an example of how to use delete_model API.
|
1591
1591
|
"""
|
1592
1592
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1593
1593
|
required_arguments = ['modelId']
|
@@ -1692,7 +1692,7 @@ class AIServiceLanguageClient(object):
|
|
1692
1692
|
:rtype: :class:`~oci.response.Response`
|
1693
1693
|
|
1694
1694
|
:example:
|
1695
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1695
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.124.1/ailanguage/delete_project.py.html>`__ to see an example of how to use delete_project API.
|
1696
1696
|
"""
|
1697
1697
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1698
1698
|
required_arguments = ['projectId']
|
@@ -1801,7 +1801,7 @@ class AIServiceLanguageClient(object):
|
|
1801
1801
|
:rtype: :class:`~oci.response.Response`
|
1802
1802
|
|
1803
1803
|
:example:
|
1804
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1804
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.124.1/ailanguage/detect_dominant_language.py.html>`__ to see an example of how to use detect_dominant_language API.
|
1805
1805
|
"""
|
1806
1806
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1807
1807
|
required_arguments = []
|
@@ -1904,7 +1904,7 @@ class AIServiceLanguageClient(object):
|
|
1904
1904
|
:rtype: :class:`~oci.response.Response`
|
1905
1905
|
|
1906
1906
|
:example:
|
1907
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1907
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.124.1/ailanguage/detect_language_entities.py.html>`__ to see an example of how to use detect_language_entities API.
|
1908
1908
|
"""
|
1909
1909
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1910
1910
|
required_arguments = []
|
@@ -2014,7 +2014,7 @@ class AIServiceLanguageClient(object):
|
|
2014
2014
|
:rtype: :class:`~oci.response.Response`
|
2015
2015
|
|
2016
2016
|
:example:
|
2017
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2017
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.124.1/ailanguage/detect_language_key_phrases.py.html>`__ to see an example of how to use detect_language_key_phrases API.
|
2018
2018
|
"""
|
2019
2019
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2020
2020
|
required_arguments = []
|
@@ -2115,7 +2115,7 @@ class AIServiceLanguageClient(object):
|
|
2115
2115
|
:rtype: :class:`~oci.response.Response`
|
2116
2116
|
|
2117
2117
|
:example:
|
2118
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2118
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.124.1/ailanguage/detect_language_sentiments.py.html>`__ to see an example of how to use detect_language_sentiments API.
|
2119
2119
|
"""
|
2120
2120
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2121
2121
|
required_arguments = []
|
@@ -2212,7 +2212,7 @@ class AIServiceLanguageClient(object):
|
|
2212
2212
|
:rtype: :class:`~oci.response.Response`
|
2213
2213
|
|
2214
2214
|
:example:
|
2215
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2215
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.124.1/ailanguage/detect_language_text_classification.py.html>`__ to see an example of how to use detect_language_text_classification API.
|
2216
2216
|
"""
|
2217
2217
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2218
2218
|
required_arguments = []
|
@@ -2298,7 +2298,7 @@ class AIServiceLanguageClient(object):
|
|
2298
2298
|
:rtype: :class:`~oci.response.Response`
|
2299
2299
|
|
2300
2300
|
:example:
|
2301
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2301
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.124.1/ailanguage/get_endpoint.py.html>`__ to see an example of how to use get_endpoint API.
|
2302
2302
|
"""
|
2303
2303
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2304
2304
|
required_arguments = ['endpointId']
|
@@ -2396,7 +2396,7 @@ class AIServiceLanguageClient(object):
|
|
2396
2396
|
:rtype: :class:`~oci.response.Response`
|
2397
2397
|
|
2398
2398
|
:example:
|
2399
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2399
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.124.1/ailanguage/get_model.py.html>`__ to see an example of how to use get_model API.
|
2400
2400
|
"""
|
2401
2401
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2402
2402
|
required_arguments = ['modelId']
|
@@ -2494,7 +2494,7 @@ class AIServiceLanguageClient(object):
|
|
2494
2494
|
:rtype: :class:`~oci.response.Response`
|
2495
2495
|
|
2496
2496
|
:example:
|
2497
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2497
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.124.1/ailanguage/get_model_type.py.html>`__ to see an example of how to use get_model_type API.
|
2498
2498
|
"""
|
2499
2499
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2500
2500
|
required_arguments = ['modelType']
|
@@ -2592,7 +2592,7 @@ class AIServiceLanguageClient(object):
|
|
2592
2592
|
:rtype: :class:`~oci.response.Response`
|
2593
2593
|
|
2594
2594
|
:example:
|
2595
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2595
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.124.1/ailanguage/get_project.py.html>`__ to see an example of how to use get_project API.
|
2596
2596
|
"""
|
2597
2597
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2598
2598
|
required_arguments = ['projectId']
|
@@ -2690,7 +2690,7 @@ class AIServiceLanguageClient(object):
|
|
2690
2690
|
:rtype: :class:`~oci.response.Response`
|
2691
2691
|
|
2692
2692
|
:example:
|
2693
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2693
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.124.1/ailanguage/get_work_request.py.html>`__ to see an example of how to use get_work_request API.
|
2694
2694
|
"""
|
2695
2695
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2696
2696
|
required_arguments = ['workRequestId']
|
@@ -2825,7 +2825,7 @@ class AIServiceLanguageClient(object):
|
|
2825
2825
|
:rtype: :class:`~oci.response.Response`
|
2826
2826
|
|
2827
2827
|
:example:
|
2828
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2828
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.124.1/ailanguage/list_endpoints.py.html>`__ to see an example of how to use list_endpoints API.
|
2829
2829
|
"""
|
2830
2830
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2831
2831
|
required_arguments = ['compartmentId']
|
@@ -2963,7 +2963,7 @@ class AIServiceLanguageClient(object):
|
|
2963
2963
|
:rtype: :class:`~oci.response.Response`
|
2964
2964
|
|
2965
2965
|
:example:
|
2966
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2966
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.124.1/ailanguage/list_evaluation_results.py.html>`__ to see an example of how to use list_evaluation_results API.
|
2967
2967
|
"""
|
2968
2968
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2969
2969
|
required_arguments = ['modelId']
|
@@ -3105,7 +3105,7 @@ class AIServiceLanguageClient(object):
|
|
3105
3105
|
:rtype: :class:`~oci.response.Response`
|
3106
3106
|
|
3107
3107
|
:example:
|
3108
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3108
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.124.1/ailanguage/list_models.py.html>`__ to see an example of how to use list_models API.
|
3109
3109
|
"""
|
3110
3110
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3111
3111
|
required_arguments = ['compartmentId']
|
@@ -3266,7 +3266,7 @@ class AIServiceLanguageClient(object):
|
|
3266
3266
|
:rtype: :class:`~oci.response.Response`
|
3267
3267
|
|
3268
3268
|
:example:
|
3269
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3269
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.124.1/ailanguage/list_projects.py.html>`__ to see an example of how to use list_projects API.
|
3270
3270
|
"""
|
3271
3271
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3272
3272
|
required_arguments = ['compartmentId']
|
@@ -3410,7 +3410,7 @@ class AIServiceLanguageClient(object):
|
|
3410
3410
|
:rtype: :class:`~oci.response.Response`
|
3411
3411
|
|
3412
3412
|
:example:
|
3413
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3413
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.124.1/ailanguage/list_work_request_errors.py.html>`__ to see an example of how to use list_work_request_errors API.
|
3414
3414
|
"""
|
3415
3415
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3416
3416
|
required_arguments = ['workRequestId']
|
@@ -3552,7 +3552,7 @@ class AIServiceLanguageClient(object):
|
|
3552
3552
|
:rtype: :class:`~oci.response.Response`
|
3553
3553
|
|
3554
3554
|
:example:
|
3555
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3555
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.124.1/ailanguage/list_work_request_logs.py.html>`__ to see an example of how to use list_work_request_logs API.
|
3556
3556
|
"""
|
3557
3557
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3558
3558
|
required_arguments = ['workRequestId']
|
@@ -3700,7 +3700,7 @@ class AIServiceLanguageClient(object):
|
|
3700
3700
|
:rtype: :class:`~oci.response.Response`
|
3701
3701
|
|
3702
3702
|
:example:
|
3703
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3703
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.124.1/ailanguage/list_work_requests.py.html>`__ to see an example of how to use list_work_requests API.
|
3704
3704
|
"""
|
3705
3705
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3706
3706
|
required_arguments = ['compartmentId']
|
@@ -3829,7 +3829,7 @@ class AIServiceLanguageClient(object):
|
|
3829
3829
|
:rtype: :class:`~oci.response.Response`
|
3830
3830
|
|
3831
3831
|
:example:
|
3832
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3832
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.124.1/ailanguage/update_endpoint.py.html>`__ to see an example of how to use update_endpoint API.
|
3833
3833
|
"""
|
3834
3834
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3835
3835
|
required_arguments = ['endpointId']
|
@@ -3939,7 +3939,7 @@ class AIServiceLanguageClient(object):
|
|
3939
3939
|
:rtype: :class:`~oci.response.Response`
|
3940
3940
|
|
3941
3941
|
:example:
|
3942
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3942
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.124.1/ailanguage/update_model.py.html>`__ to see an example of how to use update_model API.
|
3943
3943
|
"""
|
3944
3944
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3945
3945
|
required_arguments = ['modelId']
|
@@ -4049,7 +4049,7 @@ class AIServiceLanguageClient(object):
|
|
4049
4049
|
:rtype: :class:`~oci.response.Response`
|
4050
4050
|
|
4051
4051
|
:example:
|
4052
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
4052
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.124.1/ailanguage/update_project.py.html>`__ to see an example of how to use update_project API.
|
4053
4053
|
"""
|
4054
4054
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4055
4055
|
required_arguments = ['projectId']
|
@@ -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.124.1/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.124.1/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.124.1/aispeech/change_transcription_job_compartment.py.html>`__ to see an example of how to use change_transcription_job_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 = ['transcriptionJobId']
|
@@ -498,7 +498,7 @@ class AIServiceSpeechClient(object):
|
|
498
498
|
:rtype: :class:`~oci.response.Response`
|
499
499
|
|
500
500
|
:example:
|
501
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
501
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.124.1/aispeech/create_transcription_job.py.html>`__ to see an example of how to use create_transcription_job API.
|
502
502
|
"""
|
503
503
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
504
504
|
required_arguments = []
|
@@ -560,6 +560,119 @@ class AIServiceSpeechClient(object):
|
|
560
560
|
api_reference_link=api_reference_link,
|
561
561
|
required_arguments=required_arguments)
|
562
562
|
|
563
|
+
def delete_transcription_job(self, transcription_job_id, **kwargs):
|
564
|
+
"""
|
565
|
+
Delete API cleans job, tasks and the related metadata. However the generated transcriptions in customer tenancy will not be deleted.
|
566
|
+
|
567
|
+
|
568
|
+
:param str transcription_job_id: (required)
|
569
|
+
Unique Transcription Job identifier.
|
570
|
+
|
571
|
+
:param str if_match: (optional)
|
572
|
+
For optimistic concurrency control. In the PUT or DELETE call
|
573
|
+
for a resource, set the `if-match` parameter to the value of the
|
574
|
+
etag from a previous GET or POST response for that resource.
|
575
|
+
The resource will be updated or deleted only if the etag you
|
576
|
+
provide matches the resource's current etag value.
|
577
|
+
|
578
|
+
:param str opc_request_id: (optional)
|
579
|
+
The client request ID for tracing.
|
580
|
+
|
581
|
+
:param str opc_retry_token: (optional)
|
582
|
+
A token that uniquely identifies a request so it can be retried in case of a timeout or
|
583
|
+
server error without risk of executing that same action again. Retry tokens expire after 24
|
584
|
+
hours, but can be invalidated before then due to conflicting operations. For example, if a resource
|
585
|
+
has been deleted and purged from the system, then a retry of the original creation request
|
586
|
+
might be rejected.
|
587
|
+
|
588
|
+
:param obj retry_strategy: (optional)
|
589
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
590
|
+
|
591
|
+
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.
|
592
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
593
|
+
|
594
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
595
|
+
|
596
|
+
:param bool allow_control_chars: (optional)
|
597
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
598
|
+
By default, the response will not allow control characters in strings
|
599
|
+
|
600
|
+
:return: A :class:`~oci.response.Response` object with data of type None
|
601
|
+
:rtype: :class:`~oci.response.Response`
|
602
|
+
|
603
|
+
:example:
|
604
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.124.1/aispeech/delete_transcription_job.py.html>`__ to see an example of how to use delete_transcription_job API.
|
605
|
+
"""
|
606
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
607
|
+
required_arguments = ['transcriptionJobId']
|
608
|
+
resource_path = "/transcriptionJobs/{transcriptionJobId}"
|
609
|
+
method = "DELETE"
|
610
|
+
operation_name = "delete_transcription_job"
|
611
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/speech/20220101/TranscriptionJob/DeleteTranscriptionJob"
|
612
|
+
|
613
|
+
# Don't accept unknown kwargs
|
614
|
+
expected_kwargs = [
|
615
|
+
"allow_control_chars",
|
616
|
+
"retry_strategy",
|
617
|
+
"if_match",
|
618
|
+
"opc_request_id",
|
619
|
+
"opc_retry_token"
|
620
|
+
]
|
621
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
622
|
+
if extra_kwargs:
|
623
|
+
raise ValueError(
|
624
|
+
f"delete_transcription_job got unknown kwargs: {extra_kwargs!r}")
|
625
|
+
|
626
|
+
path_params = {
|
627
|
+
"transcriptionJobId": transcription_job_id
|
628
|
+
}
|
629
|
+
|
630
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
631
|
+
|
632
|
+
for (k, v) in six.iteritems(path_params):
|
633
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
634
|
+
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
635
|
+
|
636
|
+
header_params = {
|
637
|
+
"accept": "application/json",
|
638
|
+
"content-type": "application/json",
|
639
|
+
"if-match": kwargs.get("if_match", missing),
|
640
|
+
"opc-request-id": kwargs.get("opc_request_id", missing),
|
641
|
+
"opc-retry-token": kwargs.get("opc_retry_token", missing)
|
642
|
+
}
|
643
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
644
|
+
|
645
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
646
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
647
|
+
client_retry_strategy=self.retry_strategy
|
648
|
+
)
|
649
|
+
|
650
|
+
if retry_strategy:
|
651
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
652
|
+
self.base_client.add_opc_retry_token_if_needed(header_params)
|
653
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
654
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
655
|
+
return retry_strategy.make_retrying_call(
|
656
|
+
self.base_client.call_api,
|
657
|
+
resource_path=resource_path,
|
658
|
+
method=method,
|
659
|
+
path_params=path_params,
|
660
|
+
header_params=header_params,
|
661
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
662
|
+
operation_name=operation_name,
|
663
|
+
api_reference_link=api_reference_link,
|
664
|
+
required_arguments=required_arguments)
|
665
|
+
else:
|
666
|
+
return self.base_client.call_api(
|
667
|
+
resource_path=resource_path,
|
668
|
+
method=method,
|
669
|
+
path_params=path_params,
|
670
|
+
header_params=header_params,
|
671
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
672
|
+
operation_name=operation_name,
|
673
|
+
api_reference_link=api_reference_link,
|
674
|
+
required_arguments=required_arguments)
|
675
|
+
|
563
676
|
def get_transcription_job(self, transcription_job_id, **kwargs):
|
564
677
|
"""
|
565
678
|
Gets a Transcription Job by identifier
|
@@ -587,7 +700,7 @@ class AIServiceSpeechClient(object):
|
|
587
700
|
:rtype: :class:`~oci.response.Response`
|
588
701
|
|
589
702
|
:example:
|
590
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
703
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.124.1/aispeech/get_transcription_job.py.html>`__ to see an example of how to use get_transcription_job API.
|
591
704
|
"""
|
592
705
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
593
706
|
required_arguments = ['transcriptionJobId']
|
@@ -686,7 +799,7 @@ class AIServiceSpeechClient(object):
|
|
686
799
|
:rtype: :class:`~oci.response.Response`
|
687
800
|
|
688
801
|
:example:
|
689
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
802
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.124.1/aispeech/get_transcription_task.py.html>`__ to see an example of how to use get_transcription_task API.
|
690
803
|
"""
|
691
804
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
692
805
|
required_arguments = ['transcriptionJobId', 'transcriptionTaskId']
|
@@ -810,7 +923,7 @@ class AIServiceSpeechClient(object):
|
|
810
923
|
:rtype: :class:`~oci.response.Response`
|
811
924
|
|
812
925
|
:example:
|
813
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
926
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.124.1/aispeech/list_transcription_jobs.py.html>`__ to see an example of how to use list_transcription_jobs API.
|
814
927
|
"""
|
815
928
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
816
929
|
required_arguments = []
|
@@ -964,7 +1077,7 @@ class AIServiceSpeechClient(object):
|
|
964
1077
|
:rtype: :class:`~oci.response.Response`
|
965
1078
|
|
966
1079
|
:example:
|
967
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1080
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.124.1/aispeech/list_transcription_tasks.py.html>`__ to see an example of how to use list_transcription_tasks API.
|
968
1081
|
"""
|
969
1082
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
970
1083
|
required_arguments = ['transcriptionJobId']
|
@@ -1111,7 +1224,7 @@ class AIServiceSpeechClient(object):
|
|
1111
1224
|
:rtype: :class:`~oci.response.Response`
|
1112
1225
|
|
1113
1226
|
:example:
|
1114
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1227
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.124.1/aispeech/update_transcription_job.py.html>`__ to see an example of how to use update_transcription_job API.
|
1115
1228
|
"""
|
1116
1229
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1117
1230
|
required_arguments = ['transcriptionJobId']
|
@@ -67,6 +67,65 @@ class AIServiceSpeechClientCompositeOperations(object):
|
|
67
67
|
except Exception as e:
|
68
68
|
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
69
69
|
|
70
|
+
def delete_transcription_job_and_wait_for_state(self, transcription_job_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
71
|
+
"""
|
72
|
+
Calls :py:func:`~oci.ai_speech.AIServiceSpeechClient.delete_transcription_job` and waits for the :py:class:`~oci.ai_speech.models.TranscriptionJob` acted upon
|
73
|
+
to enter the given state(s).
|
74
|
+
|
75
|
+
:param str transcription_job_id: (required)
|
76
|
+
Unique Transcription Job identifier.
|
77
|
+
|
78
|
+
:param list[str] wait_for_states:
|
79
|
+
An array of states to wait on. These should be valid values for :py:attr:`~oci.ai_speech.models.TranscriptionJob.lifecycle_state`
|
80
|
+
|
81
|
+
:param dict operation_kwargs:
|
82
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.ai_speech.AIServiceSpeechClient.delete_transcription_job`
|
83
|
+
|
84
|
+
:param dict waiter_kwargs:
|
85
|
+
A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds``
|
86
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
87
|
+
"""
|
88
|
+
initial_get_result = self.client.get_transcription_job(transcription_job_id)
|
89
|
+
operation_result = None
|
90
|
+
try:
|
91
|
+
operation_result = self.client.delete_transcription_job(transcription_job_id, **operation_kwargs)
|
92
|
+
except oci.exceptions.ServiceError as e:
|
93
|
+
if e.status == 404:
|
94
|
+
return WAIT_RESOURCE_NOT_FOUND
|
95
|
+
else:
|
96
|
+
raise e
|
97
|
+
|
98
|
+
if not wait_for_states:
|
99
|
+
return operation_result
|
100
|
+
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
101
|
+
|
102
|
+
try:
|
103
|
+
if ("succeed_on_not_found" in waiter_kwargs) and (waiter_kwargs["succeed_on_not_found"] is False):
|
104
|
+
self.client.base_client.logger.warning("The waiter kwarg succeed_on_not_found was passed as False for the delete composite operation delete_transcription_job, this would result in the operation to fail if the resource is not found! Please, do not pass this kwarg if this was not intended")
|
105
|
+
else:
|
106
|
+
"""
|
107
|
+
If the user does not send in this value, we set it to True by default.
|
108
|
+
We are doing this because during a delete resource scenario and waiting on its state, the service can
|
109
|
+
return a 404 NOT FOUND exception as the resource was deleted and a get on its state would fail
|
110
|
+
"""
|
111
|
+
waiter_kwargs["succeed_on_not_found"] = True
|
112
|
+
waiter_result = oci.wait_until(
|
113
|
+
self.client,
|
114
|
+
initial_get_result, # noqa: F821
|
115
|
+
evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
|
116
|
+
**waiter_kwargs
|
117
|
+
)
|
118
|
+
result_to_return = waiter_result
|
119
|
+
|
120
|
+
return result_to_return
|
121
|
+
except (NameError, TypeError) as e:
|
122
|
+
if not e.args:
|
123
|
+
e.args = ('',)
|
124
|
+
e.args = e.args + ('This composite operation is currently not supported in the SDK. Please use the operation from the service client and use waiters as an alternative. For more information on waiters, visit: "https://docs.oracle.com/en-us/iaas/tools/python/latest/api/waiters.html"', )
|
125
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
126
|
+
except Exception as e:
|
127
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
128
|
+
|
70
129
|
def update_transcription_job_and_wait_for_state(self, transcription_job_id, update_transcription_job_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
71
130
|
"""
|
72
131
|
Calls :py:func:`~oci.ai_speech.AIServiceSpeechClient.update_transcription_job` and waits for the :py:class:`~oci.ai_speech.models.TranscriptionJob` acted upon
|