CreatePermissionApplyOrder
Creates a permission application. Note: The 2020 version of OpenAPI will be retired at a later date. Migrate to the 2024 version of OpenAPI, ApplyResourceAccessPermission, as soon as possible.
Operation description
Note: The 2020 version of OpenAPI will be retired at a later date. Migrate to the 2024 version of OpenAPI, ApplyResourceAccessPermission, as soon as possible.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dataworks:* |
create |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ApplyUserIds |
string |
Yes |
The UIDs of the Alibaba Cloud accounts for which permissions are applied. Separate multiple UIDs with commas (,). |
26784260040899****,26784260040899**** |
| Deadline |
integer |
No |
The expiration time of the applied permissions. Enter a UNIX timestamp. If you do not specify this parameter, the default expiration time is January 1, 2065. If LabelSecurity is not enabled for the MaxCompute project, or the security level of the applied table fields is 0 or less than or equal to the security level of the applying account, you can only apply for permanent permissions. You can go to the management page of the DataWorks workspace and check whether column-level access control is enabled on the advanced configuration page of the MaxCompute engine. You can go to the DataWorks workspace, view the security level of fields in Data Map, and view the security level of accounts on the Member Management page. |
1617115071885 |
| ApplyReason |
string |
Yes |
The reason for the application. This is used by administrators for evaluation and approval. |
I need to use this table |
| MaxComputeProjectName |
string |
No |
The name of the MaxCompute project for which permissions are applied. |
aMaxcomputeProjectName |
| WorkspaceId |
integer |
No |
The ID of the DataWorks workspace to which the MaxCompute project belongs. You can go to the configuration page of the DataWorks workspace to query the workspace ID. |
12345 |
OrderType
deprecated
|
integer |
No |
[Deprecated] This field is deprecated. Leave it empty. Valid values:
|
1 |
EngineType
deprecated
|
string |
No |
[Deprecated] This field is deprecated. Leave it empty. Valid values:
|
odps |
| ApplyObject |
array<object> |
Yes |
The list of objects for which permissions are applied. |
|
|
array<object> |
No |
The application object. |
||
| Actions |
string |
No |
The types of permissions to apply for. Separate multiple permission types with commas (,). Only Select, Describe, Drop, Alter, Update, and Download permissions are supported. |
Select,Describe |
| ColumnMetaList |
array<object> |
No |
The list of field objects. |
|
|
object |
No |
The application object. |
||
| Name |
string |
No |
The name of the column for which permissions are applied. If you apply for permissions on the entire table, you must enter the names of all columns in the table. You can apply for permissions on specific columns only when LabelSecurity is enabled for the MaxCompute project. If LabelSecurity is not enabled, you can only apply for permissions on the entire table. |
aColumnName |
| Actions |
string |
No |
The types of permissions to apply for. Separate multiple permission types with commas (,). Only Select, Describe, and Download permissions are supported. |
Select |
| Name |
string |
No |
The object for which permissions are applied. Only permissions on MaxCompute tables are supported. Enter the name of the target table. |
aTableName |
| ApplyType |
string |
No |
The type of the application form. Valid values:
Valid values:
|
MaxComputeTable |
| CatalogName |
string |
No |
The name of the data catalog to query. You can go to the Data Lake Formation console to view the data catalog name. |
hive |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The returned object. |
||
| RequestId |
string |
The request ID. |
0bc1ec92159376**** |
| FlowId |
array |
The list of flow IDs. |
|
|
string |
The IDs of the generated application forms. If you apply for multiple objects at the same time and the approvers for each object are different, multiple application forms are generated based on the different approvers. In this case, an array is returned. |
ee276e6e-5d34-46d8-b848-bca7879ed233 |
Examples
Success response
JSON format
{
"RequestId": "0bc1ec92159376****",
"FlowId": [
"ee276e6e-5d34-46d8-b848-bca7879ed233"
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.