Amazon.IdentityManagement.AmazonIdentityManagementServiceClient.ListInstanceProfilesForRole C# (CSharp) Method

ListInstanceProfilesForRole() public method

Lists the instance profiles that have the specified associated IAM 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 MaxItems and Marker parameters.

/// The request was rejected because it referenced an entity that does not exist. The /// error message describes the entity. /// /// The request processing has failed because of an unknown error, exception or failure. ///
public ListInstanceProfilesForRole ( ListInstanceProfilesForRoleRequest request ) : ListInstanceProfilesForRoleResponse
request ListInstanceProfilesForRoleRequest Container for the necessary parameters to execute the ListInstanceProfilesForRole service method.
return ListInstanceProfilesForRoleResponse
        public ListInstanceProfilesForRoleResponse ListInstanceProfilesForRole(ListInstanceProfilesForRoleRequest request)
        {
            var marshaller = new ListInstanceProfilesForRoleRequestMarshaller();
            var unmarshaller = ListInstanceProfilesForRoleResponseUnmarshaller.Instance;

            return Invoke<ListInstanceProfilesForRoleRequest,ListInstanceProfilesForRoleResponse>(request, marshaller, unmarshaller);
        }
AmazonIdentityManagementServiceClient