Queries keywords in a log store.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
adb:DescribeLogStoreKeys |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region ID. Note
You can call the DescribeRegions operation to query region IDs. |
cn-hangzhou |
| ProjectName |
string |
Yes |
The name of the log project. |
nbgame-point |
| LogStoreName |
string |
Yes |
The name of the Log Service LogStore. |
test-hcl2 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
3BB185E9-BB54-1727-B876-13243E4C0EB5 |
| LogStoreKeys |
object |
||
| LogStoreKey |
array |
The list of Log Service keys. |
|
|
string |
The list of Log Service keys. |
testKey |
Examples
Success response
JSON format
{
"RequestId": "3BB185E9-BB54-1727-B876-13243E4C0EB5",
"LogStoreKeys": {
"LogStoreKey": [
"testKey"
]
}
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | MissingProjectName | ProjectName is mandatory for this action. | |
| 404 | InvalidDBCluster.NotFound | The DBClusterId provided does not exist in our records. | The specified DBClusterId parameter does not exist. Make sure that the DBClusterId value is valid. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.