AWS SDK for .NET Documentation
ListInstanceProfilesForRole Method (request)
AmazonAmazon.IdentityManagementAmazonIdentityManagementServiceClientListInstanceProfilesForRole(ListInstanceProfilesForRoleRequest) Did this page help you?   Yes   No    Tell us about it...
Lists the instance profiles that have the specified associated role. If there are none, the action returns an empty list. For more information about instance profiles, go to About Instance Profiles.

You can paginate the results using the

CopyC#
MaxItems
and
CopyC#
Marker
parameters.

Declaration Syntax
C#
public ListInstanceProfilesForRoleResponse ListInstanceProfilesForRole(
	ListInstanceProfilesForRoleRequest request
)
Parameters
request (ListInstanceProfilesForRoleRequest)
Container for the necessary parameters to execute the ListInstanceProfilesForRole service method.
Return Value
The response from the ListInstanceProfilesForRole 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)