AWS SDK for .NET Documentation
GetRolePolicy Method (request)
AmazonAmazon.IdentityManagementAmazonIdentityManagementServiceGetRolePolicy(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 http://www.faqs.org/rfcs/rfc3986.html.

Declaration Syntax
C#
Parameters
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.
Exceptions
ExceptionCondition
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: 1.5.60.0 (1.5.60.0)