Update table
Operation description
Updates the configuration of an event rule.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Name |
string |
Yes |
Table name |
my_table |
| Catalog |
string |
No |
Data catalog to which it belongs |
my_catalog |
| ClientToken |
string |
No |
Idempotency token |
1e9b8f60-3a2c-4d7e-9f1b-8c3d5e7a2b4f |
| Namespace |
string |
No |
Namespace to which it belongs |
my_namespace |
| AddColumn |
object |
No |
Add column |
{"Name":"id","Type":"bigint","Comment":"主键"} |
| Name |
string |
No |
The full name of the queried event type. |
kafka-default-agent-alikafka_pre-cn-28t3sfzno003 |
| Type |
string |
No |
The event target type. For more information, see Event target parameters. |
custom |
| Comment |
string |
No |
Comment. |
接口授权_刘宏月_申请测试环境服务器资源访问权限_2026-07-06 |
| DeleteColumn |
object |
No |
Delete column |
{"Name":"old_column"} |
| Name |
string |
No |
Connector name. |
kafka-default-agent-alikafka_pre-cn-28t3sfzno003 |
| UpdateColumnType |
object |
No |
Update column type |
{"Name":"id","Type":"bigint"} |
| Name |
string |
No |
Connector name |
kafka-default-agent-alikafka_pre-cn-28t3sfzno003 |
| Type |
string |
No |
Column type |
PRIVATE |
| UpdateColumnComment |
object |
No |
Update column comment |
{"Name":"id","Comment":"主键ID"} |
| Name |
string |
No |
Extended data name |
kafka-default-agent-alikafka_pre-cn-28t3sfzno003 |
| Comment |
string |
No |
Comment information. |
DIUS Dev 环境 |
| UpdateRetentionPolicy |
object |
No |
Update retention policy |
{"HotTTL":7,"ColdTTL":30} |
| HotTTL |
integer |
No |
Hot storage duration |
7 |
| ColdTTL |
integer |
No |
Cold storage duration |
17 |
| RenameColumn |
object |
No |
Rename column |
{"Name":"old_name","NewName":"new_name"} |
| Name |
string |
No |
Connector name. |
kafka-default-agent-alikafka_pre-cn-28t3sfzno003 |
| NewName |
string |
No |
The updated name. Enter this when you need to modify the metric name. |
fvt-oos-application-group-56ca74b000 |
| UpdateComment |
string |
No |
Update table comment |
更新后的备注 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Message |
string |
API return message |
Operation success |
| RequestId |
string |
Request ID |
34AD682D-5B91-5773-8132-AA38C130**** |
| Data |
object |
Returned data |
{"TableARN":"acs:eventbridge:cn-hangzhou:123456789:catalog/my_catalog/namespace/my_namespace/table/my_table"} |
| TableARN |
string |
Table ARN |
acs:eventbridge:cn-hangzhou:123456789:catalog/my_catalog/namespace/my_namespace/table/my_table |
| Code |
string |
Return code |
200 |
| Success |
boolean |
Indicates whether the operation was successful |
true |
Examples
Success response
JSON format
{
"Message": "Operation success",
"RequestId": "34AD682D-5B91-5773-8132-AA38C130****",
"Data": {
"TableARN": "acs:eventbridge:cn-hangzhou:123456789:catalog/my_catalog/namespace/my_namespace/table/my_table"
},
"Code": "200",
"Success": true
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 403 | ServiceNotEnable | Service not enable |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.