最近更新时间:2023.04.11 20:14:14
首次发布时间:2021.02.23 10:42:33
列举全部策略,包括用户自定义策略和系统托管策略。
请求方式: HTTP GET
参数 | 类型 | 是否必须 | 描述 |
---|---|---|---|
Action | String | Y | ListPolicies |
Version | String | Y | 2018-01-01 |
Scope | String | N | All | System | Custom,默认是All |
Query | int | N | policy_name 或者 description 查询 |
Status | int | N | 状态 |
Limit | int | N | limit |
Offset | int | N | offset |
业务的Result结构定义:
参数 | 类型 | 是否必须 | 描述 |
---|---|---|---|
PolicyMetadata | Array of Policy | Y | 策略的结构,不含PolicyDocument字段 |
Limit | int | Y | limit |
Offset | int | Y | offset |
Total | int | Y | total |