查询资源目录管理账号或成员中的标签键。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
|
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
|
resourcecenter:SearchMultiAccountResources |
list |
*全部资源
|
无 | 无 |
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| Scope |
string |
是 |
搜索的账号范围。取值:
|
rd-r4**** |
| MaxResults |
integer |
否 |
每页的最大数据条数。 取值范围:1~100。 默认值:20。 |
10 |
| NextToken |
string |
否 |
查询返回结果下一页的令牌。 当返回结果数据总条数超过 |
eyJzZWFyY2hBZnRlcnMiOlsiMTAwMTU2Nzk4MTU1OSJd**** |
| TagKey |
string |
否 |
标签键。 |
test_key |
| MatchType |
string |
否 |
匹配方式。取值:
|
Equals |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
返回参数。 |
||
| NextToken |
string |
下一个查询开始的 Token。 |
AAAAARfZmVDe9NvRXloR5+8CK9nNJufMdRA7W1miLC1P**** |
| RequestId |
string |
请求 ID |
FA6086F9-6363-51A5-A507-88E3201EBCCB |
| TagKeys |
array |
标签键列表。 |
|
|
string |
标签键。 |
test_key |
示例
正常返回示例
JSON格式
{
"NextToken": "AAAAARfZmVDe9NvRXloR5+8CK9nNJufMdRA7W1miLC1P****",
"RequestId": "FA6086F9-6363-51A5-A507-88E3201EBCCB",
"TagKeys": [
"test_key"
]
}
错误码
|
HTTP status code |
错误码 |
错误信息 |
描述 |
|---|---|---|---|
| 400 | NoPermission | You are not authorized to perform this operation. | |
| 400 | InvalidParameter.MaxResults | The specified parameter MaxResults is not valid. | 参数 MaxResults 不合法。 |
| 400 | MultiAccountServiceNotEnabled | Multi account ResourceCenter service is not enabled. | |
| 403 | NoPermission.AccountScope | The operator is not permitted for this account scope. | 当前用户未授权操作此资源目录账号范围。 |
| 404 | NotExists.ResourceDirectory | The resource directory for the account is not enabled. | 当前账号未开通资源目录。 |
| 404 | NotExists.ResourceDirectory.FolderId | The specified folder does not exist. | 指定文件夹不存在。 |
| 409 | NoPermission.ResourceDirectory.MemberAccount | ResourceDirectory Member Account is not authorized to perform this operation. | |
| 409 | InvalidParameter.Scope | The Scope is invalid. | |
| 409 | InvalidParameter.MatchType | The specified parameter MatchType is not valid. |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。