Checks whether a real-time log delivery project exists.
Note The maximum number of times that each user can call this operation per second is 100.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | CheckDcdnProjectExist |
The operation that you want to perform. Set the value to CheckDcdnProjectExist. |
ProjectName | String | Yes | example |
The name of a real-time log delivery project. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
Content | Struct |
The returned results. |
|
Exist | String | false |
Indicates whether the real-time log delivery project exists. Valid values:
|
RequestId | String | b021e538-9dde-46ed-a1f2-9469da8f3e77 |
The ID of the request. |
Examples
Sample requests
http(s)://dcdn.aliyuncs.com/?Action=CheckDcdnProjectExist
&ProjectName=example
&<Common request parameters>
Sample success responses
XML
format
<CheckDcdnProjectExistResponse>
<RequestId>b021e538-9dde-46ed-a1f2-9469da8f3e77</RequestId>
<Content>
<Exist>false</Exist>
</Content>
</CheckDcdnProjectExistResponse>
JSON
format
{
"RequestId": "b021e538-9dde-46ed-a1f2-9469da8f3e77",
"Content": {
"Exist": "false"
}
}
Error codes
HttpCode | Error code | Error message | Description |
---|---|---|---|
400 | Unauthorized | RealtimeLogDelivery service is not authorized. | The error message returned because you are not authorized to use real-time log delivery. |
For a list of error codes, visit the API Error Center.