Queries the execution information about a de-identification task.
Operation description
You can call this operation to query the execution information of a static de-identification task, including the status and progress.
Limits
You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
Debugging
Authorization information
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
Lang | string | No | The language of the content within the request and response. Default value: zh_cn. Valid values:
| zh_cn |
TaskId | string | No | The ID of the de-identification task. | mt4HBgtw1B****** |
StartTime | long | No | The beginning of the time range to query. The value is a UNIX timestamp. Unit: milliseconds. | 1582992000000 |
EndTime | long | No | The end of the time range to query. The value is a UNIX timestamp. Unit: milliseconds. | 1583856000000 |
Status | integer | No | The status of the de-identification task. Valid values:
| 0 |
SrcType | integer | No | The type of the service to which the data to be de-identified belongs. Valid values: 1, 2, 3, 4, and 5. The value 1 indicates MaxCompute. The value 2 indicates Object Storage Service (OSS). The value indicates AnalyticDB for MySQL. The value 4 indicates Tablestore. The value 5 indicates ApsaraDB RDS. | 2 |
DstType | integer | No | The type of the service to which the de-identified data belongs. Valid values: 1, 2, 3, 4, and 5. The value 1 indicates MaxCompute. The value 2 indicates OSS. The value indicates AnalyticDB for MySQL. The value 4 indicates Tablestore. The value 5 indicates ApsaraDB RDS. | 2 |
PageSize | integer | No | The number of entries to return on each page. | 10 |
CurrentPage | integer | No | The number of the page to return. | 1 |
MainProcessId | long | No | The ID of the task. Note
If a task has one or more subtasks, the value of the parameter must be the ID of the task. Otherwise, leave this parameter empty.
| 366731 |
SrcTableName | string | No | The name of the source table. | add |
Response parameters
Examples
Sample success responses
JSON
format
{
"CurrentPage": 1,
"RequestId": "769FB3C1-F4C9-4******",
"PageSize": 10,
"TotalCount": 100,
"Items": [
{
"Status": 1,
"Type": 1,
"SrcType": 2,
"SrcTableName": "add",
"MaskingCount": 100,
"Percentage": 100,
"DstType": 2,
"FailMsg": "error",
"FailCode": "masking_task_not_found",
"ConflictCount": 0,
"DstTypeCode": "OSS",
"EndTime": 1582251233000,
"RunIndex": 1,
"StartTime": 1582251233000,
"HasSubProcess": 4,
"HasDownloadFile": 1,
"TaskId": "mt4HBgtw1B******",
"SrcTypeCode": "OSS",
"Id": 1
}
]
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|