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 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_marker :: Lens' DescribeGroups (Maybe Text)
- describeGroups_limit :: Lens' DescribeGroups (Maybe Natural)
- 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.
DescribeGroups' | |
|
Instances
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:marker:DescribeGroups'
, describeGroups_marker
- The marker for the next set of results. (You received this marker from a
previous call.)
$sel:limit:DescribeGroups'
, describeGroups_limit
- The maximum number of items to return with this call.
$sel:organizationId: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_marker :: Lens' DescribeGroups (Maybe Text) Source #
The marker for the next set of results. (You received this marker from a previous call.)
describeGroups_limit :: Lens' DescribeGroups (Maybe Natural) Source #
The maximum number of items to return with this 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.
DescribeGroupsResponse' | |
|
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:
$sel:groups:DescribeGroupsResponse'
, describeGroupsResponse_groups
- The list of groups.
$sel:marker: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.