Smaws_Client_IAM.ListUsersLists the IAM users that have the specified path prefix. If no path prefix is specified, the operation returns all users in the Amazon Web Services account. If there are none, the operation returns an empty list.
IAM resource-listing operations return a subset of the available attributes for the resource. This operation does not return the following attributes, even though they are an attribute of the returned object:
To view all of the information for a user, see GetUser.
You can paginate the results using the MaxItems and Marker parameters.
val error_to_string :
[ Smaws_Lib.Protocols.AwsQuery.error
| `ServiceFailureException of Types.service_failure_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.list_users_request ->
(Types.list_users_response,
[> Smaws_Lib.Protocols.AwsQuery.error
| `ServiceFailureException of Types.service_failure_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.list_users_request ->
(Types.list_users_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsQuery.error
| `ServiceFailureException of Types.service_failure_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result