libZSservicesZSamazonka-chimeZSamazonka-chime
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.Chime.ListUsers

Description

Lists the users that belong to the specified Amazon Chime account. You can specify an email address to list only the user that the email address belongs to.

This operation returns paginated results.

Synopsis

Creating a Request

data ListUsers Source #

See: newListUsers smart constructor.

Constructors

ListUsers' 

Fields

Instances

Instances details
Eq ListUsers Source # 
Instance details

Defined in Amazonka.Chime.ListUsers

Show ListUsers Source # 
Instance details

Defined in Amazonka.Chime.ListUsers

Generic ListUsers Source # 
Instance details

Defined in Amazonka.Chime.ListUsers

Associated Types

type Rep ListUsers :: Type -> Type #

NFData ListUsers Source # 
Instance details

Defined in Amazonka.Chime.ListUsers

Methods

rnf :: ListUsers -> () #

Hashable ListUsers Source # 
Instance details

Defined in Amazonka.Chime.ListUsers

AWSPager ListUsers Source # 
Instance details

Defined in Amazonka.Chime.ListUsers

AWSRequest ListUsers Source # 
Instance details

Defined in Amazonka.Chime.ListUsers

Associated Types

type AWSResponse ListUsers #

ToHeaders ListUsers Source # 
Instance details

Defined in Amazonka.Chime.ListUsers

Methods

toHeaders :: ListUsers -> [Header] #

ToPath ListUsers Source # 
Instance details

Defined in Amazonka.Chime.ListUsers

ToQuery ListUsers Source # 
Instance details

Defined in Amazonka.Chime.ListUsers

type Rep ListUsers Source # 
Instance details

Defined in Amazonka.Chime.ListUsers

type Rep ListUsers = D1 ('MetaData "ListUsers" "Amazonka.Chime.ListUsers" "libZSservicesZSamazonka-chimeZSamazonka-chime" 'False) (C1 ('MetaCons "ListUsers'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "userEmail") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text)))) :*: (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "userType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe UserType)) :*: S1 ('MetaSel ('Just "accountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))
type AWSResponse ListUsers Source # 
Instance details

Defined in Amazonka.Chime.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 - The token to use to retrieve the next page of results.

$sel:userEmail:ListUsers', listUsers_userEmail - Optional. The user email address used to filter results. Maximum 1.

$sel:maxResults:ListUsers', listUsers_maxResults - The maximum number of results to return in a single call. Defaults to 100.

$sel:userType:ListUsers', listUsers_userType - The user type.

$sel:accountId:ListUsers', listUsers_accountId - The Amazon Chime account ID.

Request Lenses

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

The token to use to retrieve the next page of results.

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

Optional. The user email address used to filter results. Maximum 1.

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

The maximum number of results to return in a single call. Defaults to 100.

listUsers_accountId :: Lens' ListUsers Text Source #

The Amazon Chime account ID.

Destructuring the Response

data ListUsersResponse Source #

See: newListUsersResponse smart constructor.

Constructors

ListUsersResponse' 

Fields

Instances

Instances details
Eq ListUsersResponse Source # 
Instance details

Defined in Amazonka.Chime.ListUsers

Show ListUsersResponse Source # 
Instance details

Defined in Amazonka.Chime.ListUsers

Generic ListUsersResponse Source # 
Instance details

Defined in Amazonka.Chime.ListUsers

Associated Types

type Rep ListUsersResponse :: Type -> Type #

NFData ListUsersResponse Source # 
Instance details

Defined in Amazonka.Chime.ListUsers

Methods

rnf :: ListUsersResponse -> () #

type Rep ListUsersResponse Source # 
Instance details

Defined in Amazonka.Chime.ListUsers

type Rep ListUsersResponse = D1 ('MetaData "ListUsersResponse" "Amazonka.Chime.ListUsers" "libZSservicesZSamazonka-chimeZSamazonka-chime" 'False) (C1 ('MetaCons "ListUsersResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "users") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [User])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") '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:users:ListUsersResponse', listUsersResponse_users - List of users and user details.

$sel:nextToken:ListUsers', listUsersResponse_nextToken - The token to use to retrieve the next page of results.

$sel:httpStatus:ListUsersResponse', listUsersResponse_httpStatus - The response's http status code.

Response Lenses

listUsersResponse_users :: Lens' ListUsersResponse (Maybe [User]) Source #

List of users and user details.

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

The token to use to retrieve the next page of results.

listUsersResponse_httpStatus :: Lens' ListUsersResponse Int Source #

The response's http status code.