Executes a data query.
Operation description
The JsonConfig input parameter is a complex JSON configuration. A supporting tool class provides configuration examples. For more information, see the Demo.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:CheckLogQuery |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
No |
The region of the Data Management Hub. Select the region based on the location of your assets. Valid values:
|
cn-hangzhou。 |
| Lang |
string |
No |
The language of the response. Valid values:
|
zh。 |
| RoleFor |
integer |
No |
The user ID of the member whose perspective the administrator is switching to. |
173326*******。 |
| LogUserId |
integer |
No |
The ID of the user who accesses the data. |
173326*******。 |
| LogRegionId |
string |
No |
The ID of the log storage region. |
cn-hangzhou。 |
| LogProjectName |
string |
No |
The name of the Simple Log Service project. |
slsaudit-center-173326*******-cn-hangzhou |
| LogStoreName |
string |
No |
The name of the Simple Log Service Logstore. |
huawei-cn-cfw |
| LogQuery |
string |
No |
The query statement for Simple Log Service. |
* |
| ExtendContentPacked |
string |
No |
Specifies whether to package non-standard fields into the extend_content extension field. Valid values:
|
|
| NormalizationSchemaId |
string |
No |
The ID of the normalization schema. You must specify this parameter if you enable packaging. |
|
| StartTime |
string |
No |
The start time. |
1733269771123。 |
| EndTime |
string |
No |
The end time. |
1733269771123。 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response body. |
||
| RequestId |
string |
The request ID. |
6276D891-*****-55B2-87B9-74D413F7****。 |
| QueryResult |
array |
The request result. |
[]。 |
|
any |
The request result. |
[]。 |
Examples
Success response
JSON format
{
"RequestId": "6276D891-*****-55B2-87B9-74D413F7****。",
"QueryResult": [
"[]。"
]
}
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.