Skip to content

DescribeUsersRequest

Source code in docs_src/capo_workdocs/types/describe_users_request.py
class DescribeUsersRequest(TypedDict, closed=True):
    authentication_token: NotRequired[
        "capo_workdocs.types.authentication_header_type.AuthenticationHeaderType"
    ]
    """<p>Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.</p>"""
    organization_id: NotRequired["capo_workdocs.types.id_type.IdType"]
    """<p>The ID of the organization.</p>"""
    user_ids: NotRequired["capo_workdocs.types.user_ids_type.UserIdsType"]
    """<p>The IDs of the users.</p>"""
    query: NotRequired["capo_workdocs.types.search_query_type.SearchQueryType"]
    """<p>A query to filter users by user name. Remember the following about the <code>Userids</code> and <code>Query</code> parameters:</p> <ul> <li> <p>If you don't use either parameter, the API returns a paginated list of all users on the site.</p> </li> <li> <p>If you use both parameters, the API ignores the <code>Query</code> parameter.</p> </li> <li> <p>The <code>Userid</code> parameter only returns user names that match a corresponding user ID.</p> </li> <li> <p>The <code>Query</code> parameter runs a "prefix" search for users by the <code>GivenName</code>, <code>SurName</code>, or <code>UserName</code> fields included in a <a href="https://docs.aws.amazon.com/workdocs/latest/APIReference/API_CreateUser.html">CreateUser</a> API call. For example, querying on <code>Ma</code> returns Márcia Oliveira, María García, and Mateo Jackson. If you use multiple characters, the API only returns data that matches all characters. For example, querying on <code>Ma J</code> only returns Mateo Jackson.</p> </li> </ul>"""
    include: NotRequired["capo_workdocs.types.user_filter_type.UserFilterType"]
    """<p>The state of the users. Specify "ALL" to include inactive users.</p>"""
    order: NotRequired["capo_workdocs.types.order_type.OrderType"]
    """<p>The order for the results.</p>"""
    sort: NotRequired["capo_workdocs.types.user_sort_type.UserSortType"]
    """<p>The sorting criteria.</p>"""
    marker: NotRequired["capo_workdocs.types.page_marker_type.PageMarkerType"]
    """<p>The marker for the next set of results. (You received this marker from a previous call.)</p>"""
    limit: NotRequired["capo_workdocs.types.limit_type.LimitType"]
    """<p>The maximum number of items to return.</p>"""
    fields: NotRequired["capo_workdocs.types.field_names_type.FieldNamesType"]
    """<p>A comma-separated list of values. Specify "STORAGE_METADATA" to include the user storage quota and utilization information.</p>"""

authentication_token instance-attribute

authentication_token: NotRequired[AuthenticationHeaderType]

Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.

fields instance-attribute

fields: NotRequired[FieldNamesType]

A comma-separated list of values. Specify "STORAGE_METADATA" to include the user storage quota and utilization information.

include instance-attribute

include: NotRequired[UserFilterType]

The state of the users. Specify "ALL" to include inactive users.

limit instance-attribute

limit: NotRequired[LimitType]

The maximum number of items to return.

marker instance-attribute

marker: NotRequired[PageMarkerType]

The marker for the next set of results. (You received this marker from a previous call.)

order instance-attribute

order: NotRequired[OrderType]

The order for the results.

organization_id instance-attribute

organization_id: NotRequired[IdType]

The ID of the organization.

query instance-attribute

query: NotRequired[SearchQueryType]

A query to filter users by user name. Remember the following about the Userids and Query parameters:

  • If you don't use either parameter, the API returns a paginated list of all users on the site.

  • If you use both parameters, the API ignores the Query parameter.

  • The Userid parameter only returns user names that match a corresponding user ID.

  • The Query parameter runs a "prefix" search for users by the GivenName, SurName, or UserName fields included in a CreateUser API call. For example, querying on Ma returns Márcia Oliveira, María García, and Mateo Jackson. If you use multiple characters, the API only returns data that matches all characters. For example, querying on Ma J only returns Mateo Jackson.

sort instance-attribute

sort: NotRequired[UserSortType]

The sorting criteria.

user_ids instance-attribute

user_ids: NotRequired[UserIdsType]

The IDs of the users.