调用ListTrustedServiceStatus查询企业管理账号或委派管理员账号已启用的可信服务列表。
接口说明
该接口仅限企业管理账号或委派管理员账号使用。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| PageNumber |
integer |
否 |
页码。 起始值:1。默认值:1。 |
1 |
| PageSize |
integer |
否 |
分页时每页显示的数据行数。 取值范围:1~100。默认值:10。 |
10 |
| AdminAccountId |
string |
否 |
企业管理账号或委派管理员账号。取值:
|
177242285274**** |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
返回结果。 |
||
| TotalCount |
integer |
数据总条数。 |
2 |
| RequestId |
string |
请求 ID。 |
CD76D376-2517-4924-92C5-DBC52262F93A |
| PageSize |
integer |
分页时每页显示的数据行数。 |
10 |
| PageNumber |
integer |
页码。 |
1 |
| EnabledServicePrincipals |
object |
||
| EnabledServicePrincipal |
array<object> |
已启用的可信服务列表。 |
|
|
object |
已启用的可信服务列表。 |
||
| ServicePrincipal |
string |
可信服务标识。 |
config.aliyuncs.com |
| EnableTime |
string |
启用可信服务的时间。 |
2019-02-18T15:32:10.473Z |
示例
正常返回示例
JSON格式
{
"TotalCount": 2,
"RequestId": "CD76D376-2517-4924-92C5-DBC52262F93A",
"PageSize": 10,
"PageNumber": 1,
"EnabledServicePrincipals": {
"EnabledServicePrincipal": [
{
"ServicePrincipal": "config.aliyuncs.com",
"EnableTime": "2019-02-18T15:32:10.473Z"
}
]
}
}
错误码
|
HTTP status code |
错误码 |
错误信息 |
描述 |
|---|---|---|---|
| 404 | EntityNotExists.ResourceDirectory | The resource directory for the account is not enabled. We recommend that you first enable the resource directory for the account. |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。