Queries de-identification tasks.
Operation description
You can call this operation to query static de-identification tasks. This facilitates task queries and management.
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 |
SearchKey | string | No | The keyword used to query the de-identification tasks, which can be the task name or ID. | test |
StartTime | long | No | The beginning of the time range during which the de-identification tasks to be queried are created. The value is a UNIX timestamp. Unit: milliseconds. | 1582992000000 |
EndTime | long | No | The end of the time range during which the de-identification tasks to be queried are created. The value is a UNIX timestamp. Unit: milliseconds. | 1583856000000 |
DstType | integer | No | The service to which the data to be de-identified belongs. Valid values include 1, 2, 3, 4, and 5. The value 1 indicates MaxCompute. The value 2 indicates Object Storage Service (OSS). The value 3 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 page number of the page to return. | 1 |
Response parameters
Examples
Sample success responses
JSON
format
{
"CurrentPage": 1,
"RequestId": "769FB3C1-F4C9-4******",
"PageSize": 10,
"TotalCount": 100,
"Items": [
{
"Status": 1,
"Owner": "owner",
"TaskName": "Task name\n",
"SrcType": 5,
"DstType": 5,
"HasUnfinishProcess": false,
"OriginalTable": false,
"TriggerType": 1,
"DstTypeCode": "RDS",
"RunCount": 1,
"GmtCreate": 1582992000000,
"TaskId": "mt4HBgtw1B******",
"DstPath": "***/table1",
"SrcTypeCode": "RDS",
"Id": 1,
"SrcPath": "***/table2"
}
]
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|