Creates a data catalog.
Operation description
Creates an event target under a specified rule.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
eventbridge:CreateTable |
create |
*Table
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Name |
string |
Yes |
The table name. |
my_table |
| Catalog |
string |
No |
The data catalog. |
my_catalog |
| ClientToken |
string |
No |
The idempotency token. |
1e9b8f60-3a2c-4d7e-9f1b-8c3d5e7a2b4f |
| Namespace |
string |
No |
The namespace. |
my_namespace |
| Comment |
string |
No |
The comment. |
Test event table |
| Columns |
array<object> |
No |
The column definitions. |
[{"Name":"id","Type":"bigint","Comment":"Primary key"}] |
|
object |
No |
The column. |
||
| Name |
string |
No |
The connector name. |
kafka-default-agent-alikafka_pre-cn-28t3sfzno003 |
| Type |
string |
No |
The type of the column. |
ehpc_cluster |
| Comment |
string |
No |
The comment of the field. |
Isp |
| RetentionPolicy |
object |
No |
The data retention policy. |
{"HotTTL":7,"ColdTTL":30} |
| HotTTL |
integer |
No |
The hot storage duration. |
30 |
| ColdTTL |
integer |
No |
The cold storage duration. |
30 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Message |
string |
The response message. |
Operation success |
| RequestId |
string |
The request ID. |
34AD682D-5B91-5773-8132-AA38C130**** |
| Data |
object |
The response data. |
{"TableARN":"acs:eventbridge:cn-hangzhou:123456789:catalog/my_catalog/namespace/my_namespace/table/my_table"} |
| TableARN |
string |
The table ARN. |
acs:eventbridge:cn-hangzhou:123456789:catalog/my_catalog/namespace/my_namespace/table/my_table |
| Code |
string |
The return code. |
200 |
| Success |
boolean |
Indicates whether the request is 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.