Domain name for API request: mariadb.tencentcloudapi.com.
This API is used to modify sync task attributes (currently, only the task name can be modified).
A maximum of 20 requests can be initiated per second for this API.
The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.
Parameter Name | Required | Type | Description |
---|---|---|---|
Action | Yes | String | Common Params. The value used for this API: ModifySyncTaskAttribute. |
Version | Yes | String | Common Params. The value used for this API: 2017-03-12. |
Region | No | String | Common Params. This parameter is not required for this API. |
TaskIds.N | Yes | Array of String | IDs of tasks for which to modify the attributes. The IDs can be obtained by the return value of the DescribeSyncTasks API. Up to 100 tasks can be operated at a time. |
TaskName | No | String | Task name. You can specify any name you like, but its length cannot exceed 100 characters. |
Parameter Name | Type | Description |
---|---|---|
RequestId | String | The unique request ID, which is returned for each request. RequestId is required for locating a problem. |
https://mariadb.tencentcloudapi.com/?Action=ModifySyncTaskAttribute
&TaskIds.0=1001
&TaskName=Data analysis sync task
&<Common request parameters>
{
"Response": {
"RequestId": "7f642839-f40d-4faf-8d84-be7894ce048a"
}
}
TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.
The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.
Error Code | Description |
---|---|
FailedOperation | Operation failed. |
InternalError.OperateDatabaseFailed | Database operation failed. |
ResourceNotFound.SyncTaskDeleted | The sync task has been deleted. |
Was this page helpful?