All Products
Search
Document Center

DataWorks:QueryRecognizeRulesType

Last Updated:Oct 17, 2024

Queries the built-in sensitive data identification rule that is used to configure a sensitive field.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
The current API does not require request parameters

Response parameters

ParameterTypeDescriptionExample
object

The data returned.

Successboolean

Indicates whether the request was successful. Valid values:

  • true
  • false
true
ErrorCodestring

The error code.

9990030003
ErrorMessagestring

The error message.

HttpStatusCodeinteger

The HTTP status code.

200
Dataany

The returned data about the built-in sensitive data identification rule that is used to configure a sensitive field. The data is in the JSON format.

{ "HttpStatusCode": 200, "Data": [ { "Regular Expression": "1" }, { "Recognize Rule": "2" }, { "Sample Library": "3" }, { "Model": "4" } ], "Success": true }
RequestIdstring

The request ID.

10000001

Examples

Sample success responses

JSONformat

{
  "Success": true,
  "ErrorCode": "9990030003",
  "ErrorMessage": "",
  "HttpStatusCode": 200,
  "Data": "{   \"HttpStatusCode\": 200,   \"Data\": [     {       \"Regular Expression\": \"1\"     },     {       \"Recognize Rule\": \"2\"     },     {       \"Sample Library\": \"3\"     },     {       \"Model\": \"4\"     }   ],   \"Success\": true }",
  "RequestId": "10000001"
}

Error codes

HTTP status codeError codeError message
400BADPARAMETERSParameters are missing or in the wrong format.

For a list of error codes, visit the Service error codes.