Domain name for API request: cls.intl.tencentcloudapi.com.
Modify a DLC delivery task
A maximum of 20 requests can be initiated per second for this API.
The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.
| Parameter Name | Required | Type | Description |
|---|---|---|---|
| Action | Yes | String | Common Params. The value used for this API: ModifyDlcDeliver. |
| Version | Yes | String | Common Params. The value used for this API: 2020-10-16. |
| Region | Yes | String | Common Params. For more information, please see the list of regions supported by the product. |
| TopicId | Yes | String | log topic id
|
| TaskId | Yes | String | Task id. |
| Name | No | String | Name: Length not exceeding 64 characters, starts with a letter, accepts 0-9, a-z, A-Z, _, -, Chinese character. |
| DeliverType | No | Integer | Delivery Type. Valid values: 0: batch delivery; 1: real-time delivery. |
| StartTime | No | Integer | Start time of the delivery time range |
| EndTime | No | Integer | End time of the delivery time range. If empty, it means unlimited time. |
| MaxSize | No | Integer | Delivery file size in MB. Required when DeliverType=0. Valid range: 5 <= MaxSize <= 256. |
| Interval | No | Integer | Delivery interval in seconds. Required when DeliverType=0. Valid range: 300 <= Interval <= 900. |
| DlcInfo | No | DlcInfo | dlc configuration message |
| HasServicesLog | No | Integer | Whether to enable the delivery service log. 1: Disabled, 2: Enabled. Enabled by default. |
| Status | No | Integer | Task status. Enumeration values:
|
| Parameter Name | Type | Description |
|---|---|---|
| RequestId | String | The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. |
POST / HTTP/1.1
Host: cls.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: ModifyDlcDeliver
<Common request parameters>
{
"TopicId": "6bf3355c-3c88-4566-89c8-76c3ca37bae9",
"TaskId": "c56d2af7-9474-4603-80b8-2637d846f2ae",
"Name": "test2-update"
}
{
"Response": {
"RequestId": "3085c6a1-f51b-45eb-b8ef-84a76a7cca09"
}
}
TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.
The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.
| Error Code | Description |
|---|---|
| AuthFailure | CAM signature/authentication error. |
| AuthFailure.UnauthorizedOperation | Request unauthorized. |
| FailedOperation | Operation failed. |
| FailedOperation.Timeout | Operation timed out |
| InternalError | Internal error. |
| InternalError.DbError | DB Error. |
| InternalError.IllegalRole | Illegal role. |
| InvalidParameter | Incorrect parameter. |
| InvalidParameter.DbDuplication | The unique key of database conflicts. |
| InvalidParameter.ParamError | Parameter error. |
| InvalidParameterValue | Incorrect parameter value. |
| LimitExceeded.RecordOutOfLimit | Record exceeds limit |
| MissingParameter | Missing parameter. |
| UnauthorizedOperation | Unauthorized operation. |
| UnknownParameter | Unknown parameter error. |
| UnsupportedOperation | Unsupported operation. |
피드백