Retrieves the specified policy document for the specified role. For more information
about roles, go to Working
with Roles.
The returned policy is URL-encoded according to RFC 3986. For more information about RFC 3986, go to http://www.faqs.org/rfcs/rfc3986.html.

C# |
public GetRolePolicyResponse GetRolePolicy( GetRolePolicyRequest request )

- request (GetRolePolicyRequest)
- Container for the necessary parameters to execute the GetRolePolicy service method.

The response from the GetRolePolicy service method, as returned by IdentityManagementService.

Exception | Condition |
---|---|
NoSuchEntityException |
The request was rejected because it referenced an entity that does not exist. The
error message describes the entity.
|