AWS SDK for .NET Documentation
ListRolePolicies Method (request)
Amazon ► Amazon.IdentityManagement ► AmazonIdentityManagementServiceClient ► ListRolePolicies(ListRolePoliciesRequest)
Did this page help you? Yes No Tell us about it...
Lists the names of the policies associated with the specified role. If there are none, the action returns an empty list.

You can paginate the results using the

CopyC#

    MaxItems

and
CopyC#

    Marker

parameters.
Declaration Syntax

C#

    public ListRolePoliciesResponse ListRolePolicies(
    	ListRolePoliciesRequest request
    )

Parameters

request (ListRolePoliciesRequest)
  Container for the necessary parameters to execute the ListRolePolicies service method.

Return Value
The response from the ListRolePolicies service method, as returned by IdentityManagementService.
Exceptions

Exception | Condition
--- | ---
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)