GetAsyncTranslate_机器翻译_API文档

插件下载了解更多
VS Code 插件
安装插件之前,确保已安装 VS Code安装插件之前,确保已安装 VS Code
Alibaba Cloud Developer Toolkit is a collection of extensions that can help access Alibaba Cloud services in Visual Studio Code.
JetBrains 插件
安装插件之前,确保已安装 JetBrains IDE安装插件之前,确保已安装 JetBrains IDE
The Alibaba Cloud Developer Toolkit for JetBrains makes it easier to access Alibaba Cloud services.

接口说明

通过 jobID 获取对应的异步任务翻译内容

流控信息

当前云产品API请求速率暂未透出。

授权信息

如下是此API对应的授权信息,用于RAM权限策略语句的Action元素中,为RAM用户或RAM角色授予调用此API的权限。请通过 RAM 访问控制设置,使用方法可参考访问控制帮助文档

具体说明如下:展开详情

操作访问级别资源类型条件关键字关联操作
alimt:GetAsyncTranslate
None
全部资源
*

请求参数

字段名称字段详情
JobIdstring

异步任务 ID。您调用 CreateAsyncTranslate 创建异步任务返回的 JobId

示例值:77056ab7-7be1-4c2a-91a1-f20f63894048

返回参数

字段名称字段详情
RequestIdstring

请求的唯一 id,用于后续排查问题使用

示例值:DC2DCCC9-C3DF-4F59-8D8E-78185729F16D
Codeinteger<int32>

状态码

示例值:200
Messagestring

返回信息。

示例值:ok
Dataobject

数据内容

返回示例

错误码

全局错误码
HTTP 状态码错误码错误信息操作
109
System.SubNotPermission
The sub account is not authorized to perform the operation.诊断
400
Parameter.SourceLangError
Source languages are not supported.诊断
400
Parameter.TargetLangError
Target languages are not supported.诊断
400
System.AccountNotActivated
The account has not activated the service.诊断
400
System.AccountNotActivatedOrInArrears
The service is not activated or the account has an outstanding balance.诊断
400
System.LanguageNotSupported
The specified language pair is not supported.诊断
400
System.ParameterError
Some required parameters are missing.诊断
400
System.StringTooLong
The maximum length of the specified string is exceeded.诊断
403
System.subNotPermission
The sub-account is not authorized to perform the operation.诊断
500
System.Error
A system error occurred.诊断
500
System.LanguageDetectError
An error occurred while detecting the language.诊断
500
System.RequestTimeOut
The request has timed out.诊断
500
System.SubServiceFailed
Sub-account service failed.诊断
500
System.TranslateError
An error occurred while translating.诊断
500
System.TranslateServiceCallFailed
Failed to call the translation service.诊断
500
System.unknownError
An unknown error occurred.诊断
500
System.UrlDecodingError
An error occurred while decoding the URL. Verify that the specified URL is encoded.诊断

变更历史

暂无变更历史

相关示例