AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
A role can also have managed policies attached to it. To retrieve a managed policy document that is attached to a role, use GetPolicy to determine the policy's default version, then use GetPolicyVersion to retrieve the policy document.
For more information about policies, refer to Managed Policies and Inline Policies in the IAM User Guide.
For more information about roles, go to Using Roles to Delegate Permissions and Federate Identities.
Version: (assembly version)
public abstract GetRolePolicyResponse GetRolePolicy( GetRolePolicyRequest request )
Container for the necessary parameters to execute the GetRolePolicy service method.
Supported in: 4.5, 4.0, 3.5