Mengkueri tipe aturan identifikasi data sensitif.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dataworks:QueryRecognizeDataByRuleType |
get |
*All Resource
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| RecognizeRulesType |
string |
Yes |
Tipe aturan identifikasi data sensitif. Anda dapat memanggil operasi QueryRecognizeRulesType untuk mendapatkan tipe aturan.
|
2 |
| TenantId |
string |
Yes |
ID penyewa. Untuk mendapatkan ID penyewa, lakukan langkah berikut: Masuk ke Konsol DataWorks. Temukan ruang kerja Anda dan buka halaman DataStudio. Di halaman DataStudio, klik nama pengguna login di sudut kanan atas, lalu klik User Info di bagian Menu. |
10241024 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| ErrorCode |
string |
The error code. |
9990030003 |
| ErrorMessage |
string |
The error message. |
Missing parameter |
| Success |
boolean |
Indicates whether the request was successful. Valid values:
|
true |
| Data |
any |
The returned result in the 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 locate logs and troubleshoot issues based on the ID. |
10000001 |
Contoh
Respons sukses
JSONformat
{
"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": "100000012"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | BADPARAMETERS | Parameters are missing or in the wrong format. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.