Queries the list of sensitive field recognition methods in Data Protection Umbrella by calling the QueryRecognizeDataByRuleType operation.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dataworks:QueryRecognizeDataByRuleType |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RecognizeRulesType |
string |
Yes |
The recognition rule type. You can call the QueryRecognizeRulesType operation to obtain the rule types.
|
2 |
| TenantId |
string |
Yes |
The tenant ID. Log on to the DataWorks console, go to the DataStudio page, click the username in the upper-right corner, and choose Menu > User Info to obtain the tenant ID. You can also obtain the tenant ID from Data.TenantId in the response of the GetProject operation. |
10241024 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response data. |
||
| ErrorCode |
string |
The error code. |
9990030003 |
| ErrorMessage |
string |
The error message. |
Missing parameter |
| Success |
boolean |
Indicates whether the call was successful.
|
true |
| Data |
any |
The returned data in JSON format. |
[{"custom": false, "name": "EducationDegree", "localeName": "EducationDegree", "templateJsonStr": "{"_clazz":"com.alipay.dsgclient.sdk.dsg.fastscan.engine.cond.EducationDegreeCond"}", "desc": ""}] |
| HttpStatusCode |
integer |
The HTTP status code. |
200 |
| RequestId |
string |
The request ID. You can use this ID to locate logs and troubleshoot issues. |
100000012 |
Examples
Success response
JSON format
{
"ErrorCode": "9990030003",
"ErrorMessage": "Missing parameter",
"Success": true,
"Data": "[{\"custom\": false, \"name\": \"EducationDegree\", \"localeName\": \"EducationDegree\", \"templateJsonStr\": \"{"_clazz":"com.alipay.dsgclient.sdk.dsg.fastscan.engine.cond.EducationDegreeCond"}\", \"desc\": \"\"}]",
"HttpStatusCode": 200,
"RequestId": "10000001"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | BADPARAMETERS | Parameters are missing or in the wrong format. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.