Deletes a user-defined function in a data lakehouse.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dms:DeleteDataLakeFunction |
create |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| CatalogName |
string |
Yes |
The name of the data directory. |
hive |
| DbName |
string |
Yes |
The database name. |
default |
| FunctionName |
string |
Yes |
The function name. |
my_funciton |
| DataRegion |
string |
Yes |
The region where the data lake resides. |
cn-hangzhou |
| Tid |
integer |
No |
The ID of the tenant. Note
To view the tenant ID, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see the View information about the current tenant section of the "Manage DMS tenants" topic. |
3*** |
| WorkspaceId |
integer |
No |
The workspace ID. |
12**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. Use this ID to locate logs and troubleshoot issues. |
B4B07137-F6AE-4756-8474-7F92BB6C4E04 |
| ErrorCode |
string |
The error code. |
UnknownError |
| ErrorMessage |
string |
The error message returned if the request fails. |
UnknownError |
| Success |
boolean |
Indicates whether the operation was successful. Valid values:
|
true |
Examples
Success response
JSON format
{
"RequestId": "B4B07137-F6AE-4756-8474-7F92BB6C4E04",
"ErrorCode": "UnknownError",
"ErrorMessage": "UnknownError",
"Success": true
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.