Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Describes the specified users. You can describe all users or filter the results (for example, by status or organization).
By default, Amazon WorkDocs returns the first 24 active or pending users. If there are more results, the response includes a marker that you can use to request the next set of results.
This operation returns paginated results.
Synopsis
- data DescribeUsers = DescribeUsers' {}
- newDescribeUsers :: DescribeUsers
- describeUsers_include :: Lens' DescribeUsers (Maybe UserFilterType)
- describeUsers_userIds :: Lens' DescribeUsers (Maybe Text)
- describeUsers_authenticationToken :: Lens' DescribeUsers (Maybe Text)
- describeUsers_sort :: Lens' DescribeUsers (Maybe UserSortType)
- describeUsers_marker :: Lens' DescribeUsers (Maybe Text)
- describeUsers_query :: Lens' DescribeUsers (Maybe Text)
- describeUsers_limit :: Lens' DescribeUsers (Maybe Natural)
- describeUsers_order :: Lens' DescribeUsers (Maybe OrderType)
- describeUsers_organizationId :: Lens' DescribeUsers (Maybe Text)
- describeUsers_fields :: Lens' DescribeUsers (Maybe Text)
- data DescribeUsersResponse = DescribeUsersResponse' {}
- newDescribeUsersResponse :: Int -> DescribeUsersResponse
- describeUsersResponse_users :: Lens' DescribeUsersResponse (Maybe [User])
- describeUsersResponse_totalNumberOfUsers :: Lens' DescribeUsersResponse (Maybe Integer)
- describeUsersResponse_marker :: Lens' DescribeUsersResponse (Maybe Text)
- describeUsersResponse_httpStatus :: Lens' DescribeUsersResponse Int
Creating a Request
data DescribeUsers Source #
See: newDescribeUsers
smart constructor.
DescribeUsers' | |
|
Instances
newDescribeUsers :: DescribeUsers Source #
Create a value of DescribeUsers
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:include:DescribeUsers'
, describeUsers_include
- The state of the users. Specify "ALL" to include inactive users.
$sel:userIds:DescribeUsers'
, describeUsers_userIds
- The IDs of the users.
$sel:authenticationToken:DescribeUsers'
, describeUsers_authenticationToken
- Amazon WorkDocs authentication token. Not required when using AWS
administrator credentials to access the API.
$sel:sort:DescribeUsers'
, describeUsers_sort
- The sorting criteria.
$sel:marker:DescribeUsers'
, describeUsers_marker
- The marker for the next set of results. (You received this marker from a
previous call.)
$sel:query:DescribeUsers'
, describeUsers_query
- A query to filter users by user name.
$sel:limit:DescribeUsers'
, describeUsers_limit
- The maximum number of items to return.
$sel:order:DescribeUsers'
, describeUsers_order
- The order for the results.
$sel:organizationId:DescribeUsers'
, describeUsers_organizationId
- The ID of the organization.
$sel:fields:DescribeUsers'
, describeUsers_fields
- A comma-separated list of values. Specify "STORAGE_METADATA" to
include the user storage quota and utilization information.
Request Lenses
describeUsers_include :: Lens' DescribeUsers (Maybe UserFilterType) Source #
The state of the users. Specify "ALL" to include inactive users.
describeUsers_userIds :: Lens' DescribeUsers (Maybe Text) Source #
The IDs of the users.
describeUsers_authenticationToken :: Lens' DescribeUsers (Maybe Text) Source #
Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API.
describeUsers_sort :: Lens' DescribeUsers (Maybe UserSortType) Source #
The sorting criteria.
describeUsers_marker :: Lens' DescribeUsers (Maybe Text) Source #
The marker for the next set of results. (You received this marker from a previous call.)
describeUsers_query :: Lens' DescribeUsers (Maybe Text) Source #
A query to filter users by user name.
describeUsers_limit :: Lens' DescribeUsers (Maybe Natural) Source #
The maximum number of items to return.
describeUsers_order :: Lens' DescribeUsers (Maybe OrderType) Source #
The order for the results.
describeUsers_organizationId :: Lens' DescribeUsers (Maybe Text) Source #
The ID of the organization.
describeUsers_fields :: Lens' DescribeUsers (Maybe Text) Source #
A comma-separated list of values. Specify "STORAGE_METADATA" to include the user storage quota and utilization information.
Destructuring the Response
data DescribeUsersResponse Source #
See: newDescribeUsersResponse
smart constructor.
DescribeUsersResponse' | |
|
Instances
newDescribeUsersResponse Source #
Create a value of DescribeUsersResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:users:DescribeUsersResponse'
, describeUsersResponse_users
- The users.
$sel:totalNumberOfUsers:DescribeUsersResponse'
, describeUsersResponse_totalNumberOfUsers
- The total number of users included in the results.
$sel:marker:DescribeUsers'
, describeUsersResponse_marker
- The marker to use when requesting the next set of results. If there are
no additional results, the string is empty.
$sel:httpStatus:DescribeUsersResponse'
, describeUsersResponse_httpStatus
- The response's http status code.
Response Lenses
describeUsersResponse_users :: Lens' DescribeUsersResponse (Maybe [User]) Source #
The users.
describeUsersResponse_totalNumberOfUsers :: Lens' DescribeUsersResponse (Maybe Integer) Source #
The total number of users included in the results.
describeUsersResponse_marker :: Lens' DescribeUsersResponse (Maybe Text) Source #
The marker to use when requesting the next set of results. If there are no additional results, the string is empty.
describeUsersResponse_httpStatus :: Lens' DescribeUsersResponse Int Source #
The response's http status code.