String { "Statement": [{ "Action": ["oss:*"], "Effect": "Allow", "Resource": ["acs:oss:*:*:*"]}], "Version": "1"}

权限策略内容。

https://resourcemanager.aliyuncs.com/?Action=GetPolicy
&PolicyName=OSS-Administrator
&PolicyType=Custom
&<公共请求参数>

正常返回示例

XML 格式

<GetPolicyResponse>
	  <RequestId>697852FB-50D7-44D9-9774-530C31EAC572</RequestId>
	  <Policy>
		    <PolicyName>OSS-Administrator</PolicyName>
		    <PolicyType>Custom</PolicyType>
		    <Description>OSS管理员权限</Description>
		    <DefaultVersion>v1</DefaultVersion>
		    <PolicyDocument>{ "Statement": [{ "Action": ["oss:*"], "Effect": "Allow", "Resource": ["acs:oss:*:*:*"]}], "Version": "1"}</PolicyDocument>
		    <CreateDate>2015-01-23T12:33:18Z</CreateDate>
		    <UpdateDate>2016-01-23T12:33:18Z</UpdateDate>
		    <AttachmentCount>0</AttachmentCount>
	  </Policy>
</GetPolicyResponse>

JSON 格式 "RequestId": "697852FB-50D7-44D9-9774-530C31EAC572", "Policy": { "PolicyName": "OSS-Administrator", "PolicyType": "Custom", "Description": "OSS管理员权限", "DefaultVersion": "v1", "PolicyDocument": "{ \"Statement\": [{ \"Action\": [\"oss:*\"], \"Effect\": \"Allow\", \"Resource\": [\"acs:oss:*:*:*\"]}], \"Version\": \"1\"}", "CreateDate": "2015-01-23T12:33:18Z", "UpdateDate": "2016-01-23T12:33:18Z", "AttachmentCount": 0 InvalidParameter.PolicyName.InvalidChars The policy name contains invalid characters. It must only contain upper or lower case letters, numbers, and dash (-). 策略名称包含非法字符。策略名称仅可包含大小写字母、数字以及中划线(-)。 InvalidParameter.PolicyName.Length The length of the policy name is invalid. It must be 1 to 64 characters in length. 策略名称长度不符合要求。策略名称长度必须在1~64个字符之间。