Queries the log configuration.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
apigateway:DescribeLogConfig |
get |
*LogConfig
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| LogType |
string |
No |
The log type. |
PROVIDER |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
E3BC2706-ABDB-5B64-A12F-08DFD9E3F339 |
| LogInfos |
object |
||
| LogInfo |
array<object> |
The log information. |
|
|
object |
|||
| SlsLogStore |
string |
The name of the Logstore in Simple Log Service (SLS). |
slsstore |
| LogType |
string |
The log type. |
PROVIDER |
| SlsProject |
string |
The name of the project in SLS. |
slsproject |
| RegionId |
string |
The ID of the region where the SLS project is located. |
cn-hangzhou |
Examples
Success response
JSON format
{
"RequestId": "E3BC2706-ABDB-5B64-A12F-08DFD9E3F339",
"LogInfos": {
"LogInfo": [
{
"SlsLogStore": "slsstore",
"LogType": "PROVIDER",
"SlsProject": "slsproject",
"RegionId": "cn-hangzhou"
}
]
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.