ListBindings
Queries the list of bindings between datasets and Object Storage Service (OSS) buckets.
Operation description
Before you call this operation, make sure that you fully understand the billing methods and pricing of Intelligent Media Management.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
imm:ListBindings |
list |
*Dataset
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ProjectName |
string |
Yes |
The name of the project. For more information about how to obtain the project name, see Create a project. |
test-project |
| DatasetName |
string |
No |
The name of the dataset. For more information about how to obtain the dataset name, see Create a dataset. |
test-dataset |
| URI |
string |
No |
The URI of the source OSS bucket. |
oss://example-bucket |
| MaxResults |
integer |
No |
|
20 |
| NextToken |
string |
No |
|
immtest:dataset001:examplebucket01 |
| Name |
string |
No |
The name of the binding task. |
imm |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response struct. |
||
| RequestId |
string |
The request ID. |
EFDFD356-C928-4A36-951A-6EB5A592**** |
| NextToken |
string |
|
immtest:dataset001:examplebucket01 |
| Bindings |
array |
The list of bindings between datasets and OSS buckets. |
|
| Binding |
The struct that contains the binding information between a dataset and an OSS bucket. |
[] |
Examples
Success response
JSON format
{
"RequestId": "EFDFD356-C928-4A36-951A-6EB5A592****",
"NextToken": "immtest:dataset001:examplebucket01",
"Bindings": [
{
"ProjectName": "immtest",
"DatasetName": "dataset001",
"URI": "oss://examplebucket",
"State": "Running",
"Phase": "FullScanning",
"CreateTime": "2021-06-29T14:50:13.011643661+08:00",
"UpdateTime": "2021-06-29T14:50:13.011643661+08:00",
"Reason": "pause usage"
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.