Queries domain names by log configuration ID.
Operation description
Note
Each account can call this operation up to 100 times per second.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cdn:ListDomainsByLogConfigId |
list |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ConfigId |
string |
Yes |
The ID of the custom configuration. |
123 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
9732E117-8A37-49FD-A36F-ABBB87556CA7 |
| Domains |
object |
||
| Domain |
array |
The domain names. |
|
|
string |
The domain name. |
example.com |
Examples
Success response
JSON format
{
"RequestId": "9732E117-8A37-49FD-A36F-ABBB87556CA7",
"Domains": {
"Domain": [
"example.com"
]
}
}
Error response
JSON format
{"RequestId":"16A96B9A-F203-4EC5-8E43-CB92E68F4CD8","HostId":"cdn.aliyuncs.com","Code":"InternalError","Message":"The request processing has failed due to some unknown error."}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 403 | InvalidConfigId | Illegal ConfigId | |
| 404 | Domains.NotFound | No domain used in this log config |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.