UpdateBatch
Updates the information of a batch task, such as the input datasource config, data processing configurations, and batch task tags.
Operation description
When you update a batch task, the task can be updated only when its status is Ready or Failed. The update does not change the current task status.
After the update is complete, the previously unfinished batch task does not automatically resume execution. You can call the ResumeBatch operation to resume the execution of the batch task.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
imm:UpdateBatch |
update |
*Batch
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ProjectName |
string |
Yes |
The name of the project. For more information about how to obtain the project name, see Create a project. |
test-project |
| Id |
string |
Yes |
The ID of the batch task. For more information about how to obtain the batch task ID, see Create a batch task. |
batch-4eb9223f-3e88-42d3-a578-3f2852****** |
| Input | Input |
No |
The input datasource config. |
|
| Actions |
array<object> |
No |
The list of processing templates. |
|
|
object |
No |
The template information. |
||
| Name |
string |
No |
The name of the template. |
doc/convert |
| Parameters |
array |
No |
The list of template parameters. |
|
|
string |
No |
The template parameter. |
pages=3 |
|
| Tags |
object |
No |
The custom tags used to search and filter asynchronous tasks. |
{"key":"val"} |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The request ID. |
CB4D73A3-BAF4-4A9D-A631-15F219AF**** |
Examples
Success response
JSON format
{
"RequestId": "CB4D73A3-BAF4-4A9D-A631-15F219AF****"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.