AWS SDK for .NET Documentation
GetRolePolicy Method (request)
AmazonAmazon.IdentityManagementAmazonIdentityManagementServiceClientGetRolePolicy(GetRolePolicyRequest) Did this page help you?   Yes   No    Tell us about it...
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

Declaration Syntax
public GetRolePolicyResponse GetRolePolicy(
	GetRolePolicyRequest request
request (GetRolePolicyRequest)
Container for the necessary parameters to execute the GetRolePolicy service method.
Return Value
The response from the GetRolePolicy service method, as returned by IdentityManagementService.
NoSuchEntityException The request was rejected because it referenced an entity that does not exist. The error message describes the entity.

Assembly: AWSSDK (Module: AWSSDK) Version: (