Lists the OSS buckets that are bound to a project.
Operation description
-
Make sure that you fully understand the billing method and pricing of Intelligent Media Management before you call this operation.
-
Make sure that you have called Bind Object Storage Bucket to bind an OSS bucket to the project.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
imm:ListAttachedOSSBuckets |
list |
*Project
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ProjectName |
string |
Yes |
The project name. For more information, see Create Project. |
test-project |
| MaxResults |
integer |
No |
The maximum number of entries to return. Valid values: (0, 200]. Default value: 100. |
1 |
| NextToken |
string |
No |
The pagination token. If the number of entries exceeds the MaxResults value, a token is returned. Use this token to retrieve results in lexicographical order starting from the next entry. Note
Leave this parameter empty for the first request. |
MTIzNDU2Nzg6aW1tdGVzdDpleGFtcGxlYnVja2V0OmRhdGFzZXQwMDE6b3NzOi8vZXhhbXBsZWJ1Y2tldC9zYW1wbGVvYmplY3QxLmpwZw== |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response body. |
||
| RequestId |
string |
The request ID. |
9847E7D0-A9A3-0053-84C6-BA16FF****** |
| NextToken |
string |
A pagination token. This parameter is returned only when not all results are returned. Use this value as NextToken in the next request to retrieve the remaining results. |
MTIzNDU2Nzg6aW1tdGVzdDpleGFtcGxlYnVja2V0OmRhdGFzZXQwMDE6b3NzOi8vZXhhbXBsZWJ1Y2tldC9zYW1wbGVvYmplY3QxLmpwZw== |
| AttachedOSSBuckets |
array<object> |
The bound OSS buckets. |
|
|
object |
The binding details. |
||
| OwnerId |
string |
The user ID. |
1023*********** |
| ProjectName |
string |
The project name. |
test-project |
| OSSBucket |
string |
The OSS bucket name. |
test-bucket |
| CreateTime |
string |
The project creation time in RFC3339Nano format. |
2021-06-29T14:50:13.011643661+08:00 |
| UpdateTime |
string |
The project modification time in RFC3339Nano format. |
2021-06-29T14:50:13.011643661+08:00 |
| Description |
string |
The description of the binding. |
test bucket |
Examples
Success response
JSON format
{
"RequestId": "9847E7D0-A9A3-0053-84C6-BA16FF******",
"NextToken": "MTIzNDU2Nzg6aW1tdGVzdDpleGFtcGxlYnVja2V0OmRhdGFzZXQwMDE6b3NzOi8vZXhhbXBsZWJ1Y2tldC9zYW1wbGVvYmplY3QxLmpwZw==",
"AttachedOSSBuckets": [
{
"OwnerId": "1023***********",
"ProjectName": "test-project",
"OSSBucket": "test-bucket",
"CreateTime": "2021-06-29T14:50:13.011643661+08:00",
"UpdateTime": "2021-06-29T14:50:13.011643661+08:00",
"Description": "test bucket"
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.