文档

QueryRecognizeRulesType

更新时间:

调用QueryRecognizeRulesType接口,查询数据保护伞定义的敏感字段内置识别规则类型。

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

请求参数

名称

类型

是否必选

示例值

描述

Action String QueryRecognizeRulesType

系统规定参数。取值:QueryRecognizeRulesType

返回数据

名称

类型

示例值

描述

Success Boolean true

调用是否成功。

  • true:成功。
  • false:失败。
ErrorCode String 9990030003

错误码。

ErrorMessage String 缺少参数

错误信息。

HttpStatusCode Integer 200

HTTP状态码。

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

返回的敏感字段内置识别规则类型,JSON格式。

RequestId String 10000001

请求ID,一次请求的唯一标识。

示例

请求示例

http(s)://[Endpoint]/?Action=QueryRecognizeRulesType
&公共请求参数

正常返回示例

XML格式

HTTP/1.1 200 OK
Content-Type:application/xml

<QueryRecognizeRulesTypeResponse>
    <Success>true</Success>
    <ErrorCode>9990030003</ErrorCode>
    <ErrorMessage>缺少参数</ErrorMessage>
    <HttpStatusCode>200</HttpStatusCode>
    <Data>{   "HttpStatusCode": 200,   "Data": [     {       "Regular Expression": "1"     },     {       "Recognize Rule": "2"     },     {       "Sample Library": "3"     },     {       "Model": "4"     }   ],   "Success": true }</Data>
    <RequestId>10000001</RequestId>
</QueryRecognizeRulesTypeResponse>

JSON格式

HTTP/1.1 200 OK
Content-Type:application/json

{
  "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"
}

错误码

HttpCode

错误码

错误信息

描述

400 BADPARAMETERS Parameters are missing or in the wrong format. 缺少参数

访问错误中心查看更多错误码。

  • 本页导读 (1)
文档反馈