Domain name for API request: cls.intl.tencentcloudapi.com.
Modify a CLS shipping 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: ModifyCLSDeliverTask. |
| 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. |
| TaskId | Yes | String | Task ID. |
| TaskName | No | String | Task name Parameter format: |
| SourceTopicConfig | No | SourceTopicConfig | Source topic information |
| TargetTopicConfig | No | TargetTopicConfig | Target topic information |
| DeliverRule | No | DeliverRule | Shipping Rule |
| Enable | No | Integer | Status. Enumeration values:
|
| HasServicesLog | No | Integer | Whether delivery service log is enabled. 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: ModifyCLSDeliverTask
<Common request parameters>
{
"TaskId": "3f2cdda9-263e-47fe-8bde-bb3c541e45e6",
"TargetTopicConfig": {
"AccountType": 1,
"Region": "ap-*******",
"LogsetId": "16bcb721-0101-4c6f-8c4c-aa0e290ab5da",
"TopicId": "32d29136-bdfc-4749-928b-a0b24d62a3b8"
},
"HasServicesLog": 1,
"TaskName": "b*******_update"
}
{
"Response": {
"RequestId": "7f4416ef-3255-4b9b-8207-1738b290fbac"
}
}
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. |
| FailedOperation | Operation failed. |
| InternalError | Internal error. |
| InvalidParameter | Parameter error. |
| InvalidParameterValue | Parameter value error. |
| MissingParameter | Parameters are missing. |
| OperationDenied | Operation denied. |
| OperationDenied.ACLFailed | ACL verification failed. |
| OperationDenied.AccountDestroy | The account has been terminated. |
| OperationDenied.AccountIsolate | Account arrears. |
| OperationDenied.AccountNotExists | The account does not exist. |
| ResourceNotFound.LogsetNotExist | The specified log set does not exist. |
| ResourceNotFound.TopicNotExist | The log topic does not exist. |
Apakah halaman ini membantu?
Anda juga dapat Menghubungi Penjualan atau Mengirimkan Tiket untuk meminta bantuan.
masukan