AWS SDK for .NET Documentation
GetRole Method (request)
AmazonAmazon.IdentityManagementAmazonIdentityManagementServiceGetRole(GetRoleRequest) Did this page help you?   Yes   No    Tell us about it...
Retrieves information about the specified role, including the role's path, GUID, ARN, and the policy granting permission to assume the role. For more information about ARNs, go to ARNs. 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#
GetRoleResponse GetRole(
	GetRoleRequest request
)
Parameters
request (GetRoleRequest)
Container for the necessary parameters to execute the GetRole service method.
Return Value
The response from the GetRole 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)