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 |
Use the SearchGroups
operation to search groups in a specified Amazon
QuickSight namespace using the supplied filters.
Synopsis
- data SearchGroups = SearchGroups' {}
- newSearchGroups :: Text -> Text -> NonEmpty GroupSearchFilter -> SearchGroups
- searchGroups_maxResults :: Lens' SearchGroups (Maybe Natural)
- searchGroups_nextToken :: Lens' SearchGroups (Maybe Text)
- searchGroups_awsAccountId :: Lens' SearchGroups Text
- searchGroups_namespace :: Lens' SearchGroups Text
- searchGroups_filters :: Lens' SearchGroups (NonEmpty GroupSearchFilter)
- data SearchGroupsResponse = SearchGroupsResponse' {}
- newSearchGroupsResponse :: Int -> SearchGroupsResponse
- searchGroupsResponse_groupList :: Lens' SearchGroupsResponse (Maybe [Group])
- searchGroupsResponse_nextToken :: Lens' SearchGroupsResponse (Maybe Text)
- searchGroupsResponse_requestId :: Lens' SearchGroupsResponse (Maybe Text)
- searchGroupsResponse_status :: Lens' SearchGroupsResponse Int
Creating a Request
data SearchGroups Source #
See: newSearchGroups
smart constructor.
SearchGroups' | |
|
Instances
Create a value of SearchGroups
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:maxResults:SearchGroups'
, searchGroups_maxResults
- The maximum number of results to return from this request.
SearchGroups
, searchGroups_nextToken
- A pagination token that can be used in a subsequent request.
SearchGroups
, searchGroups_awsAccountId
- The ID for the Amazon Web Services account that the group is in.
Currently, you use the ID for the Amazon Web Services account that
contains your Amazon QuickSight account.
SearchGroups
, searchGroups_namespace
- The namespace that you want to search.
SearchGroups
, searchGroups_filters
- The structure for the search filters that you want to apply to your
search.
Request Lenses
searchGroups_maxResults :: Lens' SearchGroups (Maybe Natural) Source #
The maximum number of results to return from this request.
searchGroups_nextToken :: Lens' SearchGroups (Maybe Text) Source #
A pagination token that can be used in a subsequent request.
searchGroups_awsAccountId :: Lens' SearchGroups Text Source #
The ID for the Amazon Web Services account that the group is in. Currently, you use the ID for the Amazon Web Services account that contains your Amazon QuickSight account.
searchGroups_namespace :: Lens' SearchGroups Text Source #
The namespace that you want to search.
searchGroups_filters :: Lens' SearchGroups (NonEmpty GroupSearchFilter) Source #
The structure for the search filters that you want to apply to your search.
Destructuring the Response
data SearchGroupsResponse Source #
See: newSearchGroupsResponse
smart constructor.
SearchGroupsResponse' | |
|
Instances
newSearchGroupsResponse Source #
Create a value of SearchGroupsResponse
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:groupList:SearchGroupsResponse'
, searchGroupsResponse_groupList
- A list of groups in a specified namespace that match the filters you set
in your SearchGroups
request.
SearchGroups
, searchGroupsResponse_nextToken
- A pagination token that can be used in a subsequent request.
$sel:requestId:SearchGroupsResponse'
, searchGroupsResponse_requestId
- The Amazon Web Services request ID for this operation.
SearchGroupsResponse
, searchGroupsResponse_status
- The HTTP status of the request.
Response Lenses
searchGroupsResponse_groupList :: Lens' SearchGroupsResponse (Maybe [Group]) Source #
A list of groups in a specified namespace that match the filters you set
in your SearchGroups
request.
searchGroupsResponse_nextToken :: Lens' SearchGroupsResponse (Maybe Text) Source #
A pagination token that can be used in a subsequent request.
searchGroupsResponse_requestId :: Lens' SearchGroupsResponse (Maybe Text) Source #
The Amazon Web Services request ID for this operation.
searchGroupsResponse_status :: Lens' SearchGroupsResponse Int Source #
The HTTP status of the request.