All Products
Search
Document Center

MaxCompute:CreatePackage

Last Updated:Mar 03, 2024

Creates a package.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request syntax

POST /api/v1/projects/{projectName}/packages

Request parameters

ParameterTypeRequiredDescriptionExample
projectNamestringYes

The name of the MaxCompute project.

projectA
isInstallbooleanNo

Specifies whether to install the package.

false
bodystringNo

The request body parameters.

{ "name": "test_packege", "resourceList": { "table": [ { "name": "table_name", "actions": [ "Describe", "Select" ] }, { "name": "table_name", "actions": [ "Describe", "Select" ] } ], "resource": [ { "name": "", "actions": [] }, { "name": "", "actions": [] } ], "function": [ { "name": "", "actions": [] }, { "name": "", "actions": [] } ] } }

Response parameters

ParameterTypeDescriptionExample
object

PopResult

requestIdstring

The ID of the request.

0bc3b4ab16684833172127321e2c25
datastring

The returned data.

success

Examples

Sample success responses

JSONformat

{
  "requestId": "0bc3b4ab16684833172127321e2c25",
  "data": "success"
}

Error codes

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
No change history