更新 MapRun 配置
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| RequestId |
string |
否 |
请求 ID。 |
3A44E113-9962-5B0B-AB92-14060EFE3164 |
| FlowName |
string |
是 |
流程名称 |
my_flow_name |
| ExecutionName |
string |
是 |
执行名称 |
my_exec_name |
| MapRunName |
string |
是 |
MapRun 名称,当 Execution 中发起 MapRun 执行后,会产生 MapRunStarted 事件,MapRunName 可以从 MapRunStarted 事件的 Output 中获取。 |
c39142f1345b196d678333c41f113100 |
| Concurrency |
integer |
否 |
MapRun 运行时的并发限制。单账户配额默认最大 300,可以通过配额中心提升。 |
1 |
| ToleratedFailedCount |
integer |
否 |
允许失败的 Item 数量的最大值 |
100 |
| ToleratedFailedPercentage |
number |
否 |
允许失败的 Item 数量占全部 Item 数量的最大百分比。取值区间为 0 - 100。 |
20 |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
Schema of Response |
||
| RequestId |
string |
Id of the request |
3A44E113-9962-5B0B-AB92-14060EFE3164 |
| FlowName |
string |
流程名称 |
my_flow_name |
| ExecutionName |
string |
执行名称。 |
my_exec_name |
| MapRunName |
string |
MapRun 名称,当 Execution 中发起 MapRun 执行后,会产生 MapRunStarted 事件,MapRunName 可以从 MapRunStarted 事件的 Output 中获取。 |
c39142f1345b196d678333c41f113000 |
| Concurrency |
integer |
MapRun 运行时的并发限制。 |
1 |
| ToleratedFailedCount |
integer |
允许失败的 Item 数量的最大值 |
100 |
| ToleratedFailedPercentage |
number |
允许失败的 Item 数量占全部 Item 数量的最大百分比 |
20 |
示例
正常返回示例
JSON格式
{
"RequestId": "3A44E113-9962-5B0B-AB92-14060EFE3164",
"FlowName": "my_flow_name",
"ExecutionName": "my_exec_name",
"MapRunName": "c39142f1345b196d678333c41f113000",
"Concurrency": 1,
"ToleratedFailedCount": 100,
"ToleratedFailedPercentage": 20
}
错误码
|
HTTP status code |
错误码 |
错误信息 |
描述 |
|---|---|---|---|
| 400 | InvalidArgument | Parameter error. | 请求参数错误。具体内容请参考实际错误信息。 |
| 400 | MissingRequiredHeader | The HTTP header '%s' must be specified. | 请求所需参数缺失。具体内容请参考实际错误信息。 |
| 400 | MissingRequiredParams | The HTTP query '%s' must be specified. | 请求所需参数缺失。具体内容请参考实际错误信息。 |
| 400 | ActionNotSupported | The requested API operation '%s' is incorrect. Please check. | |
| 400 | APIVersionNotSupported | The requested API version '%s' is not supported yet. Please check. | |
| 400 | EntityTooLarge | The payload size exceeds maximum allowed size (%s bytes). | 请求消息体过大。 |
| 412 | PreconditionFailed | The resource to be modified has been changed. | 资源查看或更新检查失败,该资源可能已被更改。请稍后重试。 |
| 500 | InternalServerError | An internal error has occurred. Please retry. | 服务器内部错误。请稍后重试。 |
| 403 | InvalidAccessKeyID | The AccessKey ID %s is invalid. | AccessKey ID无效。 |
| 403 | RequestTimeTooSkewed | The difference between the request time %s and the current time %s is too large. | 您的请求时间不正确,该请求已被识别为无效。请参考通用参数一节。 |
| 403 | SignatureNotMatch | The request signature we calculated does not match the signature you provided. Check your access key and signing method. | 您发起请求的签名与我们计算不一致,请检查您的签名算法及AccessKey Secret。 |
| 403 | AccessDenied | The resources doesn't belong to you. | |
| 404 | ExecutionNotExists | Execution %s for flow %s does not exist. | 所请求资源不存在,请确保流程已创建并存在待查询的执行。 |
| 404 | FlowNotExists | Flow %s does not exist. | 所请求资源不存在,请确保流程已创建。 |
| 415 | UnsupportedMediaType | The content type must be "application/json". | 请求消息体类型错误。 |
| 429 | ResourceThrottled | The request is throttled. Please try again later. | 因某些原因系统流量已达瓶颈。请稍后重试。 |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。