Gets the specified inline policy document that is embedded with the specified IAM Role in the caller's namespace or x-emc-namespace header if provided.
Query Parameters
RoleName
Simple name identifying the role.
PolicyName
Simple name identifying the policy.
Required Roles
This call has no restrictions.
Request Payload
No Request Payload
Response Body
Field
Description
Type
Notes
GetRolePolicyResponse
GetRolePolicyResult
RoleName
Simple name identifying the role.
String
PolicyName
Simple name identifying the policy.
String
PolicyDocument
The policy Document.
String
ResponseMetadata
RequestId
String
Examples
Request
POST https://192.168.0.0:4443/iam?RoleName=FinanceRole&PolicyName=InlineRolePolicy&Action=GetRolePolicy
Accept: application/xml
X-SDS-AUTH-TOKEN: <AUTH_TOKEN>
x-emc-namespace: <namespace>