UpdateDataSetRecord
Updates dataset records.
Operation description
Notifications are subject to frequency and time limits. Each user can receive a maximum of two notifications per day between 08:00 and 20:00.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:UpdateDataSetRecord |
update |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
No |
The region where the Data Management center for threat analysis is located. Select a region for the management center based on the region of your asset. Valid values:
|
cn-hangzhou |
| Lang |
string |
No |
The language of the response. Valid values:
|
zh |
| DataSetId |
string |
Yes |
The ID of the dataset. |
dataset-10iy8mbifnb4gniv**** |
| DataSetRecords |
string |
No |
The content of the dataset records, in JSON array format. |
[{\"ip\":\"1.1.1.1\",\"userid\":\"1234\",\"name\":\"a12401\"}, {\"ip\":\"2.2.2.2\",\"userid\":\"33333\",\"name\":\"a12401\"}] |
| DataSetFileName |
string |
No |
The name of the uploaded dataset file. |
cloudsiem-dataset/1358117679873357_174338773****.csv |
| RoleFor |
integer |
No |
The user ID of the member. An administrator can use this parameter to switch to the perspective of a specific member. |
113091674488**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response body. |
||
| RequestId |
string |
The request ID. |
9AAA9ED9-78F4-5021-86DC-D51C7511**** |
| DataSetRecordStatistic |
object |
The result of the dataset update. |
|
| NewDataSetRecordCount |
integer |
The number of new dataset records. |
12 |
| UpdateDataSetRecordCount |
integer |
The number of updated dataset records. |
4 |
Examples
Success response
JSON format
{
"RequestId": "9AAA9ED9-78F4-5021-86DC-D51C7511****",
"DataSetRecordStatistic": {
"NewDataSetRecordCount": 12,
"UpdateDataSetRecordCount": 4
}
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | IdempotentParameterMismatch | The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical. |
See for a complete list.
Release notes
See Release Notes for a complete list.