Queries the sensitivity levels of a classification template.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dms:ListSensitivityLevel |
list |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Tid |
integer |
No |
The ID of the tenant. Note
To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see View information about the current tenant in the topic "Manage DMS tenants." |
20*** |
| TemplateId |
integer |
No |
The ID of the classification template. You can call the ListClassificationTemplates operation to query the template ID. |
15** |
| TemplateType |
string |
No |
The type of the classification template. You can call the ListClassificationTemplates operation to query the template type. Valid values:
Valid values:
|
INNER |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The request ID. You can use the ID to query logs and troubleshoot issues. |
4E1D2B4D-3E53-4ABC-999D-1D2520B3471A |
| Success |
boolean |
Indicates whether the request was successful. Valid values:
|
true |
| ErrorMessage |
string |
The error message returned. |
UnknownError |
| ErrorCode |
string |
The status code. |
UnknownError |
| SensitivityLevelList |
array<object> |
The sensitivity levels. |
|
|
object |
|||
| Name |
string |
The name of the sensitivity level. |
S2 |
| TemplateId |
string |
The ID of the classification template. |
1070 |
| TemplateType |
string |
The type of the classification template. Valid values:
Valid values:
|
INNER |
| IsPlain |
boolean |
Indicates whether the fields of the sensitivity level are displayed in plaintext. Valid values:
|
true |
Examples
Success response
JSON format
{
"RequestId": "4E1D2B4D-3E53-4ABC-999D-1D2520B3471A",
"Success": true,
"ErrorMessage": "UnknownError",
"ErrorCode": "UnknownError",
"SensitivityLevelList": [
{
"Name": "S2",
"TemplateId": "1070",
"TemplateType": "INNER",
"IsPlain": true
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.