策略语法验证

所属服务

sam

接口方法

GET

请求url

/sam?Action=PolicyDocumentVerify&Version=2018-03-22&PolicyDocument=

url 参数

参数名称说明参数类型是否必填备注
ActionPolicyDocumentVerifystring
Version2018-03-22string
PolicyDocument策略内容Json

返回参数

无返回参数

状态码

无状态码

请求示例

https://open.cn-east-1.163yun.com/sam?Action=PolicyDocumentVerify&Version=2018-03-22&PolicyDocument=%7b%22version%22%3a1%2c%22statement%22%3a%5b%7b%22action%22%3a%5b%22comb%3anvm%3a*%22%5d%2c%22effect%22%3a%22allow%22%2c%22resource%22%3a%5b%22comb%3anvm%3a*%3a*%3a*%22%5d%7d%5d%7d

返回示例

{
	"Message": "调用成功",
	"Pass": true,
	"RequestId": "7cc128a8-19e4-4e4b-ab7b-38c8e41059a9",
	"Code": "Success"
}