ListDataLakeCatalog
Retrieves a list of data lake catalogs.
Try it now
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
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 |
SearchKey | string | No | The keyword used to search for data catalog names. | hive |
Tid | integer | No | The tenant ID. Call the GetUserActiveTenant or ListUserTenants operation to get the value of this parameter. | 3**** |
WorkspaceId | integer | No | The workspace ID. | 12**** |
Response elements
Element | Type | Description | Example |
object | Schema of response. | ||
RequestId | string | The request ID, used for log tracing and troubleshooting. | E76DD2E7-EBAC-5724-B163-19AAC233**** |
Success | boolean | Indicates whether the request succeeded. Valid values:
| true |
ErrorCode | string | The error code. | 400 |
ErrorMessage | string | The error message. | UnknownError |
| CataLogList | array | A list of data catalogs. | |
A data catalog. |
Examples
Success response
JSON format
{
"RequestId": "E76DD2E7-EBAC-5724-B163-19AAC233****",
"Success": true,
"ErrorCode": "400",
"ErrorMessage": "UnknownError",
"CataLogList": [
{
"Description": "",
"Name": "",
"Location": ""
}
]
}Error codes
See for a complete list.
Release notes
See 变更详情 for a complete list.