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

Description

Returns a list of all of the Amazon QuickSight users belonging to this account.

Synopsis

Creating a Request

data ListUsers Source #

See: newListUsers smart constructor.

Constructors

ListUsers' 

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.

  • awsAccountId :: Text

    The ID for the Amazon Web Services account 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 ListUsers Source # 
Instance details

Defined in Amazonka.QuickSight.ListUsers

Read ListUsers Source # 
Instance details

Defined in Amazonka.QuickSight.ListUsers

Show ListUsers Source # 
Instance details

Defined in Amazonka.QuickSight.ListUsers

Generic ListUsers Source # 
Instance details

Defined in Amazonka.QuickSight.ListUsers

Associated Types

type Rep ListUsers :: Type -> Type #

NFData ListUsers Source # 
Instance details

Defined in Amazonka.QuickSight.ListUsers

Methods

rnf :: ListUsers -> () #

Hashable ListUsers Source # 
Instance details

Defined in Amazonka.QuickSight.ListUsers

AWSRequest ListUsers Source # 
Instance details

Defined in Amazonka.QuickSight.ListUsers

Associated Types

type AWSResponse ListUsers #

ToHeaders ListUsers Source # 
Instance details

Defined in Amazonka.QuickSight.ListUsers

Methods

toHeaders :: ListUsers -> [Header] #

ToPath ListUsers Source # 
Instance details

Defined in Amazonka.QuickSight.ListUsers

ToQuery ListUsers Source # 
Instance details

Defined in Amazonka.QuickSight.ListUsers

type Rep ListUsers Source # 
Instance details

Defined in Amazonka.QuickSight.ListUsers

type Rep ListUsers = D1 ('MetaData "ListUsers" "Amazonka.QuickSight.ListUsers" "libZSservicesZSamazonka-quicksightZSamazonka-quicksight" 'False) (C1 ('MetaCons "ListUsers'" '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 ListUsers Source # 
Instance details

Defined in Amazonka.QuickSight.ListUsers

newListUsers Source #

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

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

$sel:awsAccountId:ListUsers', listUsers_awsAccountId - The ID for the Amazon Web Services account that the user is in. Currently, you use the ID for the Amazon Web Services account that contains your Amazon QuickSight account.

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

Request Lenses

listUsers_nextToken :: Lens' ListUsers (Maybe Text) Source #

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

listUsers_maxResults :: Lens' ListUsers (Maybe Natural) Source #

The maximum number of results to return from this request.

listUsers_awsAccountId :: Lens' ListUsers Text Source #

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

listUsers_namespace :: Lens' ListUsers Text Source #

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

Destructuring the Response

data ListUsersResponse Source #

See: newListUsersResponse smart constructor.

Constructors

ListUsersResponse' 

Fields

Instances

Instances details
Eq ListUsersResponse Source # 
Instance details

Defined in Amazonka.QuickSight.ListUsers

Read ListUsersResponse Source # 
Instance details

Defined in Amazonka.QuickSight.ListUsers

Show ListUsersResponse Source # 
Instance details

Defined in Amazonka.QuickSight.ListUsers

Generic ListUsersResponse Source # 
Instance details

Defined in Amazonka.QuickSight.ListUsers

Associated Types

type Rep ListUsersResponse :: Type -> Type #

NFData ListUsersResponse Source # 
Instance details

Defined in Amazonka.QuickSight.ListUsers

Methods

rnf :: ListUsersResponse -> () #

type Rep ListUsersResponse Source # 
Instance details

Defined in Amazonka.QuickSight.ListUsers

type Rep ListUsersResponse = D1 ('MetaData "ListUsersResponse" "Amazonka.QuickSight.ListUsers" "libZSservicesZSamazonka-quicksightZSamazonka-quicksight" 'False) (C1 ('MetaCons "ListUsersResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "requestId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "userList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [User]))) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListUsersResponse Source #

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

$sel:userList:ListUsersResponse', listUsersResponse_userList - The list of users.

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

$sel:status:ListUsersResponse', listUsersResponse_status - The HTTP status of the request.

Response Lenses

listUsersResponse_requestId :: Lens' ListUsersResponse (Maybe Text) Source #

The Amazon Web Services request ID for this operation.

listUsersResponse_nextToken :: Lens' ListUsersResponse (Maybe Text) Source #

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

listUsersResponse_status :: Lens' ListUsersResponse Int Source #

The HTTP status of the request.