Updates the JAR file of the user-defined function (UDF) that you create.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
stream:UpdateUdfArtifact |
update |
*All Resource
|
None | None |
Request syntax
PUT /api/v2/namespaces/{namespace}/udfartifacts/{udfArtifactName} HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| namespace |
string |
Yes |
The name of the namespace. |
default-namespace |
| udfArtifactName |
string |
Yes |
The name of the JAR file of the UDF. |
test-udf |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| workspace |
string |
Yes |
The workspace ID. |
a14bd5d90a**** |
| body | UdfArtifact |
Yes |
The details of the JAR file of the UDF. |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| requestId |
string |
The request ID. |
CBC799F0-ABCD-1D30-8A4F-882ED4DD**** |
| success |
boolean |
Indicates whether the request was successful. |
true |
| httpCode |
integer |
The status code returned. The value was fixed to 200. The status code 200 indicates that the request was successful. |
200 |
| errorCode |
string |
|
"" |
| errorMessage |
string |
|
"" |
| data |
UpdateUdfArtifactResult |
The result of updating the JAR file of the UDF. |
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.