Queries data catalogs in a data lake.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dms:ListDataLakeCatalog |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DataRegion |
string |
Yes |
The region in which the data lake resides. |
cn-hangzhou |
| SearchKey |
string |
No |
The keyword used to search for catalogs. |
hive |
| Tid |
integer |
No |
The tenant ID. You can call the GetUserActiveTenant or ListUserTenants operation to query the tenant ID. |
3 |
| WorkspaceId |
integer |
No |
The workspace ID. |
12**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The request ID. You can use it to locate logs and troubleshoot issues. |
E76DD2E7-EBAC-5724-B163-19AAC233F8F2 |
| Success |
boolean |
Indicates whether the request was successful.
|
true |
| ErrorCode |
string |
The error code returned. |
400 |
| ErrorMessage |
string |
The error message returned. |
UnknownError |
| CataLogList |
array |
The list of data catalogs. |
|
| DLCatalog |
The data catalog. |
Examples
Success response
JSON format
{
"RequestId": "E76DD2E7-EBAC-5724-B163-19AAC233F8F2",
"Success": true,
"ErrorCode": "400",
"ErrorMessage": "UnknownError",
"CataLogList": [
{
"Description": "init default catalog",
"Name": "hive",
"Location": "oss://xxxx"
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.