Accepts large SQL files to update node content.
Operation description
This operation can be used to modify node configuration content.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dms:UpdateTaskContentV2 |
update |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| NodeId |
string |
Yes |
The ID of the task node. You can call the GetTaskInstanceRelation operation to obtain this parameter value. |
449*** |
| NodeContent |
string |
No |
The modified node configuration content. Note
If the SQL type in the configuration content is SELECT, convert it to INSERT or CREATE. |
{ "dbId": 521****, "sql":" INSERT/CREATE SQL", "dbType":"mysql" } |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
Id of the request. |
B5FD0BC8-2D90-4478-B8EC-A0E92E0B1773 |
| ErrorCode |
string |
The error code. |
UnknownError |
| ErrorMessage |
string |
The error message. |
UnknownError |
| Success |
string |
Indicates whether the request is successful. Valid values:
|
true |
Examples
Success response
JSON format
{
"RequestId": "B5FD0BC8-2D90-4478-B8EC-A0E92E0B1773",
"ErrorCode": "UnknownError",
"ErrorMessage": "UnknownError\n",
"Success": "true"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.