Queries the list of data catalogs.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
eventbridge:ListCatalogs |
list |
*Catalog
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| NextToken |
string |
No |
The pagination token. |
0 |
| Limit |
integer |
No |
The number of entries per page. |
10 |
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. |
|
| Catalogs |
array |
The list of catalogs. |
|
| Catalog |
The details of the catalog. |
||
| NextToken |
string |
The token for the next page. |
10 |
| Total |
integer |
The total number of entries. |
1 |
| Code |
string |
The response code. A value of 200 indicates success. |
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": {
"Catalogs": [
{
"Name": "my_catalog",
"Type": "RELATIONAL",
"Provider": "EventHouse",
"Comment": "测试数据目录",
"Properties": {
"IndexPattern": "my-index-*"
},
"ConnectionName": "my_connection"
}
],
"NextToken": "10",
"Total": 1
},
"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.