libZSservicesZSamazonka-quicksightZSamazonka-quicksight
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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

  • nextToken :: Maybe Text

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

  • maxResults :: Maybe Natural

    The maximum number of results to return from this 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
Eq ListUserGroups Source # 
Instance details

Defined in Amazonka.QuickSight.ListUserGroups

Read ListUserGroups Source # 
Instance details

Defined in Amazonka.QuickSight.ListUserGroups

Show ListUserGroups Source # 
Instance details

Defined in Amazonka.QuickSight.ListUserGroups

Generic ListUserGroups Source # 
Instance details

Defined in Amazonka.QuickSight.ListUserGroups

Associated Types

type Rep ListUserGroups :: Type -> Type #

NFData ListUserGroups Source # 
Instance details

Defined in Amazonka.QuickSight.ListUserGroups

Methods

rnf :: ListUserGroups -> () #

Hashable ListUserGroups Source # 
Instance details

Defined in Amazonka.QuickSight.ListUserGroups

AWSRequest ListUserGroups Source # 
Instance details

Defined in Amazonka.QuickSight.ListUserGroups

Associated Types

type AWSResponse ListUserGroups #

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

type Rep ListUserGroups Source # 
Instance details

Defined in Amazonka.QuickSight.ListUserGroups

type Rep ListUserGroups = D1 ('MetaData "ListUserGroups" "Amazonka.QuickSight.ListUserGroups" "libZSservicesZSamazonka-quicksightZSamazonka-quicksight" 'False) (C1 ('MetaCons "ListUserGroups'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))) :*: (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)))))
type AWSResponse ListUserGroups Source # 
Instance details

Defined in Amazonka.QuickSight.ListUserGroups

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:nextToken:ListUserGroups', listUserGroups_nextToken - A pagination token that can be used in a subsequent request.

$sel:maxResults:ListUserGroups', listUserGroups_maxResults - The maximum number of results to return from this request.

$sel:userName:ListUserGroups', listUserGroups_userName - The Amazon QuickSight user name that you want to list group memberships for.

$sel:awsAccountId: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.

$sel:namespace:ListUserGroups', listUserGroups_namespace - The namespace. Currently, you should set this to default.

Request Lenses

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

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

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

The maximum number of results to return from this 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
Eq ListUserGroupsResponse Source # 
Instance details

Defined in Amazonka.QuickSight.ListUserGroups

Read ListUserGroupsResponse Source # 
Instance details

Defined in Amazonka.QuickSight.ListUserGroups

Show ListUserGroupsResponse Source # 
Instance details

Defined in Amazonka.QuickSight.ListUserGroups

Generic ListUserGroupsResponse Source # 
Instance details

Defined in Amazonka.QuickSight.ListUserGroups

Associated Types

type Rep ListUserGroupsResponse :: Type -> Type #

NFData ListUserGroupsResponse Source # 
Instance details

Defined in Amazonka.QuickSight.ListUserGroups

Methods

rnf :: ListUserGroupsResponse -> () #

type Rep ListUserGroupsResponse Source # 
Instance details

Defined in Amazonka.QuickSight.ListUserGroups

type Rep ListUserGroupsResponse = D1 ('MetaData "ListUserGroupsResponse" "Amazonka.QuickSight.ListUserGroups" "libZSservicesZSamazonka-quicksightZSamazonka-quicksight" 'False) (C1 ('MetaCons "ListUserGroupsResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "requestId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "groupList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Group]))) :*: (S1 ('MetaSel ('Just "nextToken") '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:requestId:ListUserGroupsResponse', listUserGroupsResponse_requestId - The Amazon Web Services request ID for this operation.

$sel:groupList:ListUserGroupsResponse', listUserGroupsResponse_groupList - The list of groups the user is a member of.

$sel:nextToken:ListUserGroups', listUserGroupsResponse_nextToken - A pagination token that can be used in a subsequent request.

$sel:status:ListUserGroupsResponse', listUserGroupsResponse_status - The HTTP status of the request.

Response Lenses

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

The Amazon Web Services request ID for this operation.

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.