本文属于机器翻译版本。若本译文内容与英语原文存在差异,则一律以英文原文为准。
DescribeBatchInferenceJob
获取批量推理作业的属性,包括名称、Amazon 资源名称 (ARN)、状态、输入和输出配置,以及用于生成建议的解决方案版本的 ARN。
请求语法
{
"batchInferenceJobArn": "string
"
}
请求参数
请求接受采用 JSON 格式的以下数据。
- batchInferenceJobArn
-
要描述的批量推理作业的 ARN。
类型:字符串
长度约束:最大长度为 256。
模式:
arn:([a-z\d-]+):personalize:.*:.*:.+
必需:是
响应语法
{
"batchInferenceJob": {
"batchInferenceJobArn": "string",
"batchInferenceJobConfig": {
"itemExplorationConfig": {
"string" : "string"
}
},
"batchInferenceJobMode": "string",
"creationDateTime": number,
"failureReason": "string",
"filterArn": "string",
"jobInput": {
"s3DataSource": {
"kmsKeyArn": "string",
"path": "string"
}
},
"jobName": "string",
"jobOutput": {
"s3DataDestination": {
"kmsKeyArn": "string",
"path": "string"
}
},
"lastUpdatedDateTime": number,
"numResults": number,
"roleArn": "string",
"solutionVersionArn": "string",
"status": "string",
"themeGenerationConfig": {
"fieldsForThemeGeneration": {
"itemName": "string"
}
}
}
}
响应元素
如果此操作成功,则该服务将会发送回 HTTP 200 响应。
服务以 JSON 格式返回以下数据。
- batchInferenceJob
-
有关指定批量推理作业的信息。
类型:BatchInferenceJob 对象
错误
- InvalidInputException
-
为字段或参数提供有效值。
HTTP 状态代码:400
- ResourceNotFoundException
-
找不到指定的资源。
HTTP 状态代码:400
另请参阅
有关在特定语言的 Amazon SDK 中使用此 API 的更多信息,请参阅以下内容: