Module Values.SearchUsersResultSource

Searches the specified directory for a user. You can find users that match the SearchString parameter with the value of their attributes included in the SearchString parameter. This operation supports pagination with the use of the NextToken request and response parameters. If more results are available, the SearchUsers.NextToken member contains a token that you pass in the next call to SearchUsers. This retrieves the next set of items. You can also specify a maximum number of return results with the MaxResults parameter.

Sourcetype nonrec t = {
  1. directoryId : DirectoryId.t option;
    (*

    The identifier (ID) of the directory where the address block is added.

    *)
  2. nextToken : NextToken.t option;
    (*

    An encoded paging token for paginated calls that can be passed back to retrieve the next page.

    *)
  3. realm : Realm.t option;
    (*

    The domain that's associated with the user.

    *)
  4. users : UserList.t option;
    (*

    The user information that the request returns.

    *)
}
Sourcetype nonrec error = [
  1. | `AccessDeniedException of AccessDeniedException.t
  2. | `DirectoryUnavailableException of DirectoryUnavailableException.t
  3. | `InternalServerException of InternalServerException.t
  4. | `ThrottlingException of ThrottlingException.t
  5. | `ValidationException of ValidationException.t
  6. | `Unknown_operation_error of string * string option
]
Sourceval make : ?directoryId:??? -> ?nextToken:??? -> ?realm:??? -> ?users:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `AccessDeniedException of AccessDeniedException.t | `DirectoryUnavailableException of DirectoryUnavailableException.t | `InternalServerException of InternalServerException.t | `ThrottlingException of ThrottlingException.t | `Unknown_operation_error of string * string option | `ValidationException of ValidationException.t ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `AccessDeniedException of AccessDeniedException.t | `DirectoryUnavailableException of DirectoryUnavailableException.t | `InternalServerException of InternalServerException.t | `ThrottlingException of ThrottlingException.t | `Unknown_operation_error of string * string option | `ValidationException of ValidationException.t ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Structure of (string * [> `Boolean of Boolean.t | `Map of ([> `String of LdapDisplayName.t ] * [> `Structure of (string * [> `Boolean of BooleanAttributeValue.t | `List of [> `String of StringAttributeValue.t ] list | `Long of NumberAttributeValue.t | `String of StringAttributeValue.t ]) list ]) list | `String of DistinguishedName.t ]) list ] list | `String of DirectoryId.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t