Retrieves a list of dataset records.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:ListDataSetRecords |
list |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
No |
The region of the Data Management center for Threat Analysis. Select a region for the management center based on the region where your assets are located. Valid values:
|
cn-hangzhou |
| Lang |
string |
No |
The language of the response. Valid values:
|
zh |
| DataSetId |
string |
Yes |
The ID of the dataset. |
dataset-nhcrmjpx1zsorlaq**** |
| PageNumber |
integer |
Yes |
The page number. |
1 |
| PageSize |
integer |
Yes |
The number of entries per page. |
10 |
| RoleFor |
integer |
No |
The ID of the member whose permissions you want to use. This parameter is available only to administrators. |
113091674488**** |
| MaxResults |
integer |
No |
The maximum number of entries to return on each page when you use the NextToken parameter to query results. Valid values: 1 to 100. Default value: 50. |
50 |
| NextToken |
string |
No |
The pagination token that is used in the next request to retrieve a new page of results. |
AAAAAUqcj6VO4E3ECWIrFczs**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response body. |
||
| RequestId |
string |
The request ID. |
9AAA9ED9-78F4-5021-86DC-D51C7511**** |
| DataSetRecords |
array<object> |
A list of dataset records. |
|
|
object |
The dataset record. |
||
| CreateTime |
integer |
The time when the record was created. |
1658974643000 |
| UpdateTime |
integer |
The time when the record was last updated. |
1658974643000 |
| DataSetId |
string |
The ID of the dataset. |
dataset-t8ha6p7k61rmniqw**** |
| DataSetName |
string |
The name of the dataset. |
lmftest |
| DataSetRecordId |
string |
The ID of the dataset record. |
124566 |
| DataSetRecordValues |
string |
The value of the dataset record. |
{"ip":"10.0.*.*/8","region":"shanghai"} |
| PageNumber |
integer |
The page number. |
1 |
| PageSize |
integer |
The number of entries per page. |
10 |
| TotalCount |
integer |
The total number of entries. |
57 |
| MaxResults |
integer |
The maximum number of entries returned per page. |
50 |
| NextToken |
string |
The pagination token that is used in the next request to retrieve a new page of results. |
AAAAAUqcj6VO4E3ECWIrFczs**** |
Examples
Success response
JSON format
{
"RequestId": "9AAA9ED9-78F4-5021-86DC-D51C7511****",
"DataSetRecords": [
{
"CreateTime": 1658974643000,
"UpdateTime": 1658974643000,
"DataSetId": "dataset-t8ha6p7k61rmniqw****",
"DataSetName": "lmftest",
"DataSetRecordId": "124566",
"DataSetRecordValues": "{\"ip\":\"10.0.*.*/8\",\"region\":\"shanghai\"}"
}
],
"PageNumber": 1,
"PageSize": 10,
"TotalCount": 57,
"MaxResults": 50,
"NextToken": "AAAAAUqcj6VO4E3ECWIrFczs****"
}
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 Error Codes for a complete list.
Release notes
See Release Notes for a complete list.