AddEntityIntoMetaCollection
Adds a specified entity object to a Data Map collection. The collection object can be a Data Map category or a data album. The entity object currently supports only the data table type. To add an entity to a data album, the caller must have the AliyunDataWorksFullAccess permission, or be the creator or administrator of the album.
Operation description
DataWorks Professional Edition or a more advanced edition is required.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dataworks:AddEntityIntoMetaCollection |
none |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| MetaCollectionId |
string |
Yes |
The ID of the collection object. You can obtain the ID from the response of the ListMetaCollections operation. |
as78d756asd |
| Id |
string |
Yes |
The ID of the entity. Currently, only the table type is supported. You can obtain the ID from the response of the ListTables operation. |
maxcompute-table:::project_name:[schema_name]:table_name |
| Remark |
string |
No |
The remarks when adding the entity to the collection. Currently, this parameter takes effect only for the album type. |
test |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response. |
||
| RequestId |
string |
The request ID. |
C99E2BE6-9DEA-5C2E-8F51-1DDCFEADE490 |
Examples
Success response
JSON format
{
"RequestId": "C99E2BE6-9DEA-5C2E-8F51-1DDCFEADE490"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.