Retrieves the data catalog of a data lake.
Try it now
Test
RAM authorization
Action | Access level | Resource type | Condition key | Dependent action |
dms:GetDataLakeCatalog | get | *All Resource
| None | None |
Request parameters
Parameter | Type | Required | Description | Example |
CatalogName | string | Yes | The name of the data catalog. | hive |
Tid | integer | No | The tenant ID. You can call the GetUserActiveTenant or ListUserTenants operation to obtain this value. | 3**** |
WorkspaceId | integer | No | The ID of the workspace. | 12**** |
Response elements
Element | Type | Description | Example |
object | Schema of Response. | ||
RequestId | string | The ID of the request, used for log tracing and troubleshooting. | FE8EE2F1-4880-46BC-A704-5CF63EAF**** |
Success | boolean | Indicates whether the request was successful. Valid values:
| true |
ErrorCode | string | The error code. | 400 |
ErrorMessage | string | Error message returned when the request fails. | code: 404, can not find catalog, name : hiv request id: 6090E571-E5B1-1E6D-BF44-F9E10E8B**** |
Catalog | The details of the data catalog. |
Examples
Success response
JSON format
{
"RequestId": "FE8EE2F1-4880-46BC-A704-5CF63EAF****",
"Success": true,
"ErrorCode": "400",
"ErrorMessage": "code: 404, can not find catalog, name : hiv request id: 6090E571-E5B1-1E6D-BF44-F9E10E8B****",
"Catalog": {
"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.