Smaws_Client_IAM.ListInstanceProfilesForRoleLists the instance profiles that have the specified associated IAM role. If there are none, the operation returns an empty list. For more information about instance profiles, go to Using instance profiles in the IAM User Guide.
You can paginate the results using the MaxItems and Marker parameters.
val error_to_string :
[ Smaws_Lib.Protocols.AwsQuery.error
| `NoSuchEntityException of Types.no_such_entity_exception
| `ServiceFailureException of Types.service_failure_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.list_instance_profiles_for_role_request ->
(Types.list_instance_profiles_for_role_response,
[> Smaws_Lib.Protocols.AwsQuery.error
| `NoSuchEntityException of Types.no_such_entity_exception
| `ServiceFailureException of Types.service_failure_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.list_instance_profiles_for_role_request ->
(Types.list_instance_profiles_for_role_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsQuery.error
| `NoSuchEntityException of Types.no_such_entity_exception
| `ServiceFailureException of Types.service_failure_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result