| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.WorkDocs.DescribeGroups
Description
Describes the groups specified by the query. Groups are defined by the underlying Active Directory.
This operation returns paginated results.
Synopsis
- data DescribeGroups = DescribeGroups' {}
- newDescribeGroups :: Text -> DescribeGroups
- describeGroups_authenticationToken :: Lens' DescribeGroups (Maybe Text)
- describeGroups_limit :: Lens' DescribeGroups (Maybe Natural)
- describeGroups_marker :: Lens' DescribeGroups (Maybe Text)
- describeGroups_organizationId :: Lens' DescribeGroups (Maybe Text)
- describeGroups_searchQuery :: Lens' DescribeGroups Text
- data DescribeGroupsResponse = DescribeGroupsResponse' {
- groups :: Maybe [GroupMetadata]
- marker :: Maybe Text
- httpStatus :: Int
- newDescribeGroupsResponse :: Int -> DescribeGroupsResponse
- describeGroupsResponse_groups :: Lens' DescribeGroupsResponse (Maybe [GroupMetadata])
- describeGroupsResponse_marker :: Lens' DescribeGroupsResponse (Maybe Text)
- describeGroupsResponse_httpStatus :: Lens' DescribeGroupsResponse Int
Creating a Request
data DescribeGroups Source #
See: newDescribeGroups smart constructor.
Constructors
| DescribeGroups' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> DescribeGroups |
Create a value of DescribeGroups 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:authenticationToken:DescribeGroups', describeGroups_authenticationToken - Amazon WorkDocs authentication token. Not required when using AWS
administrator credentials to access the API.
$sel:limit:DescribeGroups', describeGroups_limit - The maximum number of items to return with this call.
DescribeGroups, describeGroups_marker - The marker for the next set of results. (You received this marker from a
previous call.)
DescribeGroups, describeGroups_organizationId - The ID of the organization.
$sel:searchQuery:DescribeGroups', describeGroups_searchQuery - A query to describe groups by group name.
Request Lenses
describeGroups_authenticationToken :: Lens' DescribeGroups (Maybe Text) Source #
Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API.
describeGroups_limit :: Lens' DescribeGroups (Maybe Natural) Source #
The maximum number of items to return with this call.
describeGroups_marker :: Lens' DescribeGroups (Maybe Text) Source #
The marker for the next set of results. (You received this marker from a previous call.)
describeGroups_organizationId :: Lens' DescribeGroups (Maybe Text) Source #
The ID of the organization.
describeGroups_searchQuery :: Lens' DescribeGroups Text Source #
A query to describe groups by group name.
Destructuring the Response
data DescribeGroupsResponse Source #
See: newDescribeGroupsResponse smart constructor.
Constructors
| DescribeGroupsResponse' | |
Fields
| |
Instances
newDescribeGroupsResponse Source #
Create a value of DescribeGroupsResponse 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:
DescribeGroupsResponse, describeGroupsResponse_groups - The list of groups.
DescribeGroups, describeGroupsResponse_marker - The marker to use when requesting the next set of results. If there are
no additional results, the string is empty.
$sel:httpStatus:DescribeGroupsResponse', describeGroupsResponse_httpStatus - The response's http status code.
Response Lenses
describeGroupsResponse_groups :: Lens' DescribeGroupsResponse (Maybe [GroupMetadata]) Source #
The list of groups.
describeGroupsResponse_marker :: Lens' DescribeGroupsResponse (Maybe Text) Source #
The marker to use when requesting the next set of results. If there are no additional results, the string is empty.
describeGroupsResponse_httpStatus :: Lens' DescribeGroupsResponse Int Source #
The response's http status code.