Update a business logic description in the specified Alibaba Cloud Model Studio workspace.
Debug
You can directly invoke this API in OpenAPI Explorer, saving you the trouble of calculating signatures. After a successful call, OpenAPI Explorer can automatically generate SDK code examples.
Debug
RAM authorization
The following table lists the authorization information of this API, which can be used in the Action element of a RAM policy statement to grant a RAM user or RAM role the permission to call this API. Details:
- Operation: the specific permission point.
- Access level: the access level of each operation. Valid values: Write, Read, and List.
-
Resource type: the resource types supported for authorization in the operation. Details:
- For required resource types, the prefix * is added.
- For operations that do not support resource-level authorization,
All resourcesis used.
- Condition keyword: the condition keywords defined by the cloud product itself.
- Related operation: other permissions required to successfully execute the operation. The caller must have the permissions of the related operations to succeed.
| Operation | Access level | Resource type | Condition keyword | Related operation |
|---|---|---|---|---|
| dataanalysisgbi:UpdateBusinessLogic | none | *All resources * |
| None |
Request syntax
Request parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| workspaceId | string | Yes | The ID of the Alibaba Cloud Bailian business space used for the current request. | llm-2v3934xtp49esw64 |
| body | object | No | Request body parameters. | |
| businessLogicIdKey | string | Yes | The unique ID of the business logic description. | businessLogic-AAAAAAAAAGAIyJoP7LbKuA |
| description | string | Yes | The content of the business logic description. | Winter refers to October through March of the previous year |
| type | long | Yes | Type of the business logic description. Valid values:
| 0 |
Response elements
| Element | Type | Description | Example |
|---|---|---|---|
| object | Result | ||
| data | any | Response data. | true |
| errorMsg | string | Error message. | NoAuth |
| code | string | Error code. | NoAuth |
| success | boolean | true indicates that the API call succeeded, and false indicates that the API call failed. | true |
| requestId | string | The request ID, which is unique for each request and helps you troubleshoot issues. | FB11F719-9AC8-5C99-AB0A-4709D437FCFC |
Examples
Success response example
JSON format
Error codes
| HTTP status code | Error code | Error message | Description |
|---|---|---|---|
| 401 | Internal.Error | Bad Request: Internal Error. | Internal error. Contact customer service personnel for troubleshooting. |
| 401 | NoAuth | Bad Request: Workspace.Illegal.Auth. | The current account does not have permission on the specified business space. |
| 401 | NoResourceAuth | Bad Request: Resource Auth Error. | You do not have permission on the requested resource. Make sure that the requested resource belongs to the business space in the current parameters. |
| 401 | SystemOperationInProgress | Xiyan GBI is learning your previous modifications. Please try again later. | Xiyan GBI is learning your previous modifications. Please try again later. |