Changes the security level of a specified column.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dms:ChangeColumnSecurityLevel |
update |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Tid |
integer |
No |
The ID of the tenant. Note
To view the tenant ID, hover over the profile picture in the upper-right corner of the DMS console. View information about the current tenant. |
10**** |
| DbId |
integer |
Yes |
The ID of the database. The database can be physical or logical.
|
325** |
| IsLogic |
boolean |
Yes |
Whether the database is a logical database. Valid values:
|
false |
| SchemaName |
string |
Yes |
The name of the database. Call the ListSensitiveColumns or SearchDatabase operation to query the database name. Note
Call the ListDatabases operation to query a physical database name, or the ListLogicDatabases operation to query a logical database name. |
test_schema |
| TableName |
string |
Yes |
The name of the table. Call the ListSensitiveColumns or ListTables operation to query the table name. |
test_table |
| ColumnName |
string |
Yes |
The name of the column. Call the ListSensitiveColumns or ListColumns operation to query the column name. |
test_column |
| NewSensitivityLevel |
string |
Yes |
The new security level of the column. Valid values match the sensitivity levels defined in the classification template associated with the instance. Call the ListSensitivityLevel operation to query available sensitivity levels. |
S2 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The request ID. |
E103C5F9-DE47-53F2-BF34-D71DF38F**** |
| ErrorCode |
string |
The error code returned if the request failed. |
UnknownError |
| ErrorMessage |
string |
The error message returned if the request failed. |
UnknownError |
| Success |
boolean |
Whether the request was successful. Valid values:
|
true |
Examples
Success response
JSON format
{
"RequestId": "E103C5F9-DE47-53F2-BF34-D71DF38F****",
"ErrorCode": "UnknownError",
"ErrorMessage": "UnknownError",
"Success": true
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.