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

Description

Lists all user groups in Amazon QuickSight.

Synopsis

Creating a Request

data ListGroups Source #

See: newListGroups smart constructor.

Constructors

ListGroups' 

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.

  • 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. Currently, you should set this to default.

Instances

Instances details
Eq ListGroups Source # 
Instance details

Defined in Amazonka.QuickSight.ListGroups

Read ListGroups Source # 
Instance details

Defined in Amazonka.QuickSight.ListGroups

Show ListGroups Source # 
Instance details

Defined in Amazonka.QuickSight.ListGroups

Generic ListGroups Source # 
Instance details

Defined in Amazonka.QuickSight.ListGroups

Associated Types

type Rep ListGroups :: Type -> Type #

NFData ListGroups Source # 
Instance details

Defined in Amazonka.QuickSight.ListGroups

Methods

rnf :: ListGroups -> () #

Hashable ListGroups Source # 
Instance details

Defined in Amazonka.QuickSight.ListGroups

AWSRequest ListGroups Source # 
Instance details

Defined in Amazonka.QuickSight.ListGroups

Associated Types

type AWSResponse ListGroups #

ToHeaders ListGroups Source # 
Instance details

Defined in Amazonka.QuickSight.ListGroups

Methods

toHeaders :: ListGroups -> [Header] #

ToPath ListGroups Source # 
Instance details

Defined in Amazonka.QuickSight.ListGroups

ToQuery ListGroups Source # 
Instance details

Defined in Amazonka.QuickSight.ListGroups

type Rep ListGroups Source # 
Instance details

Defined in Amazonka.QuickSight.ListGroups

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

Defined in Amazonka.QuickSight.ListGroups

newListGroups Source #

Create a value of ListGroups 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:ListGroups', listGroups_nextToken - A pagination token that can be used in a subsequent request.

$sel:maxResults:ListGroups', listGroups_maxResults - The maximum number of results to return.

$sel:awsAccountId:ListGroups', listGroups_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.

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

Request Lenses

listGroups_nextToken :: Lens' ListGroups (Maybe Text) Source #

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

listGroups_maxResults :: Lens' ListGroups (Maybe Natural) Source #

The maximum number of results to return.

listGroups_awsAccountId :: Lens' ListGroups 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.

listGroups_namespace :: Lens' ListGroups Text Source #

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

Destructuring the Response

data ListGroupsResponse Source #

See: newListGroupsResponse smart constructor.

Constructors

ListGroupsResponse' 

Fields

Instances

Instances details
Eq ListGroupsResponse Source # 
Instance details

Defined in Amazonka.QuickSight.ListGroups

Read ListGroupsResponse Source # 
Instance details

Defined in Amazonka.QuickSight.ListGroups

Show ListGroupsResponse Source # 
Instance details

Defined in Amazonka.QuickSight.ListGroups

Generic ListGroupsResponse Source # 
Instance details

Defined in Amazonka.QuickSight.ListGroups

Associated Types

type Rep ListGroupsResponse :: Type -> Type #

NFData ListGroupsResponse Source # 
Instance details

Defined in Amazonka.QuickSight.ListGroups

Methods

rnf :: ListGroupsResponse -> () #

type Rep ListGroupsResponse Source # 
Instance details

Defined in Amazonka.QuickSight.ListGroups

type Rep ListGroupsResponse = D1 ('MetaData "ListGroupsResponse" "Amazonka.QuickSight.ListGroups" "libZSservicesZSamazonka-quicksightZSamazonka-quicksight" 'False) (C1 ('MetaCons "ListGroupsResponse'" '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))))

newListGroupsResponse Source #

Create a value of ListGroupsResponse 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:ListGroupsResponse', listGroupsResponse_requestId - The Amazon Web Services request ID for this operation.

$sel:groupList:ListGroupsResponse', listGroupsResponse_groupList - The list of the groups.

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

$sel:status:ListGroupsResponse', listGroupsResponse_status - The HTTP status of the request.

Response Lenses

listGroupsResponse_requestId :: Lens' ListGroupsResponse (Maybe Text) Source #

The Amazon Web Services request ID for this operation.

listGroupsResponse_nextToken :: Lens' ListGroupsResponse (Maybe Text) Source #

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

listGroupsResponse_status :: Lens' ListGroupsResponse Int Source #

The HTTP status of the request.