CreateBinding_智能媒体管理_API文档

Plugin DownloadLearn more
VS Code Plugin
Before installing the plugin, please install VS CodeBefore installing the plugin, please install VS Code
Alibaba Cloud Developer Toolkit is a collection of extensions that can help access Alibaba Cloud services in Visual Studio Code.
JetBrains Plugin
Before installing the plugin, please install JetBrains IDEBefore installing the plugin, please install JetBrains IDE
The Alibaba Cloud Developer Toolkit for JetBrains makes it easier to access Alibaba Cloud services.

Operation Description

Before you call this operation, make sure that you are familiar with the billing of Intelligent Media Management (IMM).****

Before you create a binding relationship, make sure that the project and the dataset that you want to use exist.

  • For information about how to create a project, see CreateProject .
  • For information about how to create a dataset, see CreateDataset .
Note The CreateBinding operation works by using the workflow template that is specified when you created the project or dataset.

After you create a binding relationship between a dataset and an OSS bucket, IMM scans the existing objects in the bucket and extracts metadata based on the scanning result. Then, IMM creates an index from the extracted metadata. If new objects are added to the OSS bucket, IMM constantly tracks and scans the objects and updates the index. For objects whose index is created in this way, you can call the SimpleQuery operation to query, manage, and collect statistics from the objects.

Quotas Info

There is no quotas information in the current API.

Authorization Information

The following table shows the authorization information corresponding to this API, which can be used in the Action policy element to grant a RAM user or RAM role the permissions to call the API. Please use RAM to set up these permissions and refer to RAM documentation for more instructions.

Description:View Details...

ActionsAccess levelResource typeCondition keyAssociated operation
imm:CreateBinding
Create
Dataset
acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}/dataset/{#DatasetName}
NoneNone

Request Parameters

Field NameField Details
ProjectNamestring

The name of the project. You can obtain the name of the project from the response of the CreateProject operation.

Example:test-projectReference Value Source:
    CreateProject
    UpdateProject
    ListProjects
DatasetNamestring

The name of the dataset. You can obtain the name of the dataset from the response of the CreateDataset operation.

Example:test-datasetReference Value Source:
    UpdateDataset
    CreateDataset
    ListDatasets
URIstring

The URI of the OSS bucket to which you bind the dataset.View Details...

Example:oss://examplebucket

Response Parameters

Field NameField Details
RequestIdstring

The request ID.

Example:5F74C5C9-5AC0-49F9-914D-E01589D3****
BindingBinding

The request parameters.

Sample Response

Change History

Change timeChange content summaryoperation
2024-09-03
changeRequest parameter ProjectName
changeRequest parameter DatasetName
changeRequest parameter URI
changeresponse parameters
2024-04-19
deleteError code 400
deleteError code 404
2021-06-15
addOpenAPI

Examples