amazonka-quicksight-2.0: Amazon QuickSight SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.QuickSight.SearchGroups

Description

Use the SearchGroups operation to search groups in a specified Amazon QuickSight namespace using the supplied filters.

Synopsis

Creating a Request

data SearchGroups Source #

See: newSearchGroups smart constructor.

Constructors

SearchGroups' 

Fields

  • maxResults :: Maybe Natural

    The maximum number of results to return from this request.

  • nextToken :: Maybe Text

    A pagination token that can be used in a subsequent request.

  • awsAccountId :: Text

    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.

  • namespace :: Text

    The namespace that you want to search.

  • filters :: NonEmpty GroupSearchFilter

    The structure for the search filters that you want to apply to your search.

Instances

Instances details
ToJSON SearchGroups Source # 
Instance details

Defined in Amazonka.QuickSight.SearchGroups

ToHeaders SearchGroups Source # 
Instance details

Defined in Amazonka.QuickSight.SearchGroups

ToPath SearchGroups Source # 
Instance details

Defined in Amazonka.QuickSight.SearchGroups

ToQuery SearchGroups Source # 
Instance details

Defined in Amazonka.QuickSight.SearchGroups

AWSRequest SearchGroups Source # 
Instance details

Defined in Amazonka.QuickSight.SearchGroups

Associated Types

type AWSResponse SearchGroups #

Generic SearchGroups Source # 
Instance details

Defined in Amazonka.QuickSight.SearchGroups

Associated Types

type Rep SearchGroups :: Type -> Type #

Read SearchGroups Source # 
Instance details

Defined in Amazonka.QuickSight.SearchGroups

Show SearchGroups Source # 
Instance details

Defined in Amazonka.QuickSight.SearchGroups

NFData SearchGroups Source # 
Instance details

Defined in Amazonka.QuickSight.SearchGroups

Methods

rnf :: SearchGroups -> () #

Eq SearchGroups Source # 
Instance details

Defined in Amazonka.QuickSight.SearchGroups

Hashable SearchGroups Source # 
Instance details

Defined in Amazonka.QuickSight.SearchGroups

type AWSResponse SearchGroups Source # 
Instance details

Defined in Amazonka.QuickSight.SearchGroups

type Rep SearchGroups Source # 
Instance details

Defined in Amazonka.QuickSight.SearchGroups

type Rep SearchGroups = D1 ('MetaData "SearchGroups" "Amazonka.QuickSight.SearchGroups" "amazonka-quicksight-2.0-9P6nV9koXl6GTlt8ZjS7C9" 'False) (C1 ('MetaCons "SearchGroups'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "awsAccountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "namespace") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "filters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty GroupSearchFilter))))))

newSearchGroups Source #

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.

Constructors

SearchGroupsResponse' 

Fields

  • groupList :: Maybe [Group]

    A list of groups in a specified namespace that match the filters you set in your SearchGroups request.

  • nextToken :: Maybe Text

    A pagination token that can be used in a subsequent request.

  • requestId :: Maybe Text

    The Amazon Web Services request ID for this operation.

  • status :: Int

    The HTTP status of the request.

Instances

Instances details
Generic SearchGroupsResponse Source # 
Instance details

Defined in Amazonka.QuickSight.SearchGroups

Associated Types

type Rep SearchGroupsResponse :: Type -> Type #

Read SearchGroupsResponse Source # 
Instance details

Defined in Amazonka.QuickSight.SearchGroups

Show SearchGroupsResponse Source # 
Instance details

Defined in Amazonka.QuickSight.SearchGroups

NFData SearchGroupsResponse Source # 
Instance details

Defined in Amazonka.QuickSight.SearchGroups

Methods

rnf :: SearchGroupsResponse -> () #

Eq SearchGroupsResponse Source # 
Instance details

Defined in Amazonka.QuickSight.SearchGroups

type Rep SearchGroupsResponse Source # 
Instance details

Defined in Amazonka.QuickSight.SearchGroups

type Rep SearchGroupsResponse = D1 ('MetaData "SearchGroupsResponse" "Amazonka.QuickSight.SearchGroups" "amazonka-quicksight-2.0-9P6nV9koXl6GTlt8ZjS7C9" 'False) (C1 ('MetaCons "SearchGroupsResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "groupList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Group])) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "requestId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

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.