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.ListUserGroups

Description

Lists the Amazon QuickSight groups that an Amazon QuickSight user is a member of.

Synopsis

Creating a Request

data ListUserGroups Source #

See: newListUserGroups smart constructor.

Constructors

ListUserGroups' 

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.

  • userName :: Text

    The Amazon QuickSight user name that you want to list group memberships for.

  • awsAccountId :: Text

    The Amazon Web Services account ID that the user is in. Currently, you use the ID for the Amazon Web Services account that contains your Amazon QuickSight account.

  • namespace :: Text

    The namespace. Currently, you should set this to default.

Instances

Instances details
ToHeaders ListUserGroups Source # 
Instance details

Defined in Amazonka.QuickSight.ListUserGroups

ToPath ListUserGroups Source # 
Instance details

Defined in Amazonka.QuickSight.ListUserGroups

ToQuery ListUserGroups Source # 
Instance details

Defined in Amazonka.QuickSight.ListUserGroups

AWSRequest ListUserGroups Source # 
Instance details

Defined in Amazonka.QuickSight.ListUserGroups

Associated Types

type AWSResponse ListUserGroups #

Generic ListUserGroups Source # 
Instance details

Defined in Amazonka.QuickSight.ListUserGroups

Associated Types

type Rep ListUserGroups :: Type -> Type #

Read ListUserGroups Source # 
Instance details

Defined in Amazonka.QuickSight.ListUserGroups

Show ListUserGroups Source # 
Instance details

Defined in Amazonka.QuickSight.ListUserGroups

NFData ListUserGroups Source # 
Instance details

Defined in Amazonka.QuickSight.ListUserGroups

Methods

rnf :: ListUserGroups -> () #

Eq ListUserGroups Source # 
Instance details

Defined in Amazonka.QuickSight.ListUserGroups

Hashable ListUserGroups Source # 
Instance details

Defined in Amazonka.QuickSight.ListUserGroups

type AWSResponse ListUserGroups Source # 
Instance details

Defined in Amazonka.QuickSight.ListUserGroups

type Rep ListUserGroups Source # 
Instance details

Defined in Amazonka.QuickSight.ListUserGroups

type Rep ListUserGroups = D1 ('MetaData "ListUserGroups" "Amazonka.QuickSight.ListUserGroups" "amazonka-quicksight-2.0-9P6nV9koXl6GTlt8ZjS7C9" 'False) (C1 ('MetaCons "ListUserGroups'" '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 "userName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "awsAccountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "namespace") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newListUserGroups Source #

Create a value of ListUserGroups 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:ListUserGroups', listUserGroups_maxResults - The maximum number of results to return from this request.

ListUserGroups, listUserGroups_nextToken - A pagination token that can be used in a subsequent request.

ListUserGroups, listUserGroups_userName - The Amazon QuickSight user name that you want to list group memberships for.

ListUserGroups, listUserGroups_awsAccountId - The Amazon Web Services account ID that the user is in. Currently, you use the ID for the Amazon Web Services account that contains your Amazon QuickSight account.

ListUserGroups, listUserGroups_namespace - The namespace. Currently, you should set this to default.

Request Lenses

listUserGroups_maxResults :: Lens' ListUserGroups (Maybe Natural) Source #

The maximum number of results to return from this request.

listUserGroups_nextToken :: Lens' ListUserGroups (Maybe Text) Source #

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

listUserGroups_userName :: Lens' ListUserGroups Text Source #

The Amazon QuickSight user name that you want to list group memberships for.

listUserGroups_awsAccountId :: Lens' ListUserGroups Text Source #

The Amazon Web Services account ID that the user is in. Currently, you use the ID for the Amazon Web Services account that contains your Amazon QuickSight account.

listUserGroups_namespace :: Lens' ListUserGroups Text Source #

The namespace. Currently, you should set this to default.

Destructuring the Response

data ListUserGroupsResponse Source #

See: newListUserGroupsResponse smart constructor.

Constructors

ListUserGroupsResponse' 

Fields

Instances

Instances details
Generic ListUserGroupsResponse Source # 
Instance details

Defined in Amazonka.QuickSight.ListUserGroups

Associated Types

type Rep ListUserGroupsResponse :: Type -> Type #

Read ListUserGroupsResponse Source # 
Instance details

Defined in Amazonka.QuickSight.ListUserGroups

Show ListUserGroupsResponse Source # 
Instance details

Defined in Amazonka.QuickSight.ListUserGroups

NFData ListUserGroupsResponse Source # 
Instance details

Defined in Amazonka.QuickSight.ListUserGroups

Methods

rnf :: ListUserGroupsResponse -> () #

Eq ListUserGroupsResponse Source # 
Instance details

Defined in Amazonka.QuickSight.ListUserGroups

type Rep ListUserGroupsResponse Source # 
Instance details

Defined in Amazonka.QuickSight.ListUserGroups

type Rep ListUserGroupsResponse = D1 ('MetaData "ListUserGroupsResponse" "Amazonka.QuickSight.ListUserGroups" "amazonka-quicksight-2.0-9P6nV9koXl6GTlt8ZjS7C9" 'False) (C1 ('MetaCons "ListUserGroupsResponse'" '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))))

newListUserGroupsResponse Source #

Create a value of ListUserGroupsResponse 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:ListUserGroupsResponse', listUserGroupsResponse_groupList - The list of groups the user is a member of.

ListUserGroups, listUserGroupsResponse_nextToken - A pagination token that can be used in a subsequent request.

$sel:requestId:ListUserGroupsResponse', listUserGroupsResponse_requestId - The Amazon Web Services request ID for this operation.

ListUserGroupsResponse, listUserGroupsResponse_status - The HTTP status of the request.

Response Lenses

listUserGroupsResponse_groupList :: Lens' ListUserGroupsResponse (Maybe [Group]) Source #

The list of groups the user is a member of.

listUserGroupsResponse_nextToken :: Lens' ListUserGroupsResponse (Maybe Text) Source #

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

listUserGroupsResponse_requestId :: Lens' ListUserGroupsResponse (Maybe Text) Source #

The Amazon Web Services request ID for this operation.