Generates an algorithm customization script.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
pairec:GenerateAlgorithmCustomizationScript |
none |
*All Resource
|
None | None |
Request syntax
POST /api/v1/algorithmcustomizations/{AlgorithmCustomizationId}/action/generatescript HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| AlgorithmCustomizationId |
string |
No |
The algorithm customization ID. |
1 |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| body |
object |
No |
The request body. |
|
| InstanceId |
string |
No |
The ID of the instance. To obtain this ID, see ListInstances. |
pairec-test-xxx |
| ModuleFieldTypes |
object |
No |
The data types of fields in the JSON configuration. |
{"item_table":"array"} |
| DeployMode |
string |
No |
The deployment mode. Valid values:
|
EasyDeploy |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response object. |
||
| RequestId |
string |
The request ID. |
6CF1E160-3F36-5E73-A170-C75504F05BBC |
| OssAddress |
string |
The OSS address of the generated package. |
oss:xxxx |
| LogId |
string |
The log ID. |
4 |
Examples
Success response
JSON format
{
"RequestId": "6CF1E160-3F36-5E73-A170-C75504F05BBC",
"OssAddress": "oss:xxxx",
"LogId": "4"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.