amazonka-workmail-1.6.0: Amazon WorkMail SDK.

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

Network.AWS.WorkMail.ListUsers

Contents

Description

Returns summaries of the organization's users.

This operation returns paginated results.

Synopsis

Creating a Request

listUsers Source #

Creates a value of ListUsers with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data ListUsers Source #

See: listUsers smart constructor.

Instances

Eq ListUsers Source # 
Data ListUsers Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ListUsers -> c ListUsers #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ListUsers #

toConstr :: ListUsers -> Constr #

dataTypeOf :: ListUsers -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ListUsers) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ListUsers) #

gmapT :: (forall b. Data b => b -> b) -> ListUsers -> ListUsers #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ListUsers -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ListUsers -> r #

gmapQ :: (forall d. Data d => d -> u) -> ListUsers -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ListUsers -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ListUsers -> m ListUsers #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ListUsers -> m ListUsers #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ListUsers -> m ListUsers #

Read ListUsers Source # 
Show ListUsers Source # 
Generic ListUsers Source # 

Associated Types

type Rep ListUsers :: * -> * #

Hashable ListUsers Source # 
ToJSON ListUsers Source # 
NFData ListUsers Source # 

Methods

rnf :: ListUsers -> () #

AWSPager ListUsers Source # 
AWSRequest ListUsers Source # 
ToHeaders ListUsers Source # 

Methods

toHeaders :: ListUsers -> [Header] #

ToPath ListUsers Source # 
ToQuery ListUsers Source # 
type Rep ListUsers Source # 
type Rep ListUsers = D1 * (MetaData "ListUsers" "Network.AWS.WorkMail.ListUsers" "amazonka-workmail-1.6.0-8HAZCS55pFIAg9ZAclEI0R" False) (C1 * (MetaCons "ListUsers'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_luNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_luMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Nat))) (S1 * (MetaSel (Just Symbol "_luOrganizationId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)))))
type Rs ListUsers Source # 

Request Lenses

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

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

luOrganizationId :: Lens' ListUsers Text Source #

The identifier for the organization under which the users exist.

Destructuring the Response

listUsersResponse Source #

Creates a value of ListUsersResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • lursUsers - The overview of users for an organization.
  • lursNextToken - The token to use to retrieve the next page of results. This value is null when there are no more results to return.
  • lursResponseStatus - -- | The response status code.

data ListUsersResponse Source #

See: listUsersResponse smart constructor.

Instances

Eq ListUsersResponse Source # 
Data ListUsersResponse Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ListUsersResponse -> c ListUsersResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ListUsersResponse #

toConstr :: ListUsersResponse -> Constr #

dataTypeOf :: ListUsersResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ListUsersResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ListUsersResponse) #

gmapT :: (forall b. Data b => b -> b) -> ListUsersResponse -> ListUsersResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ListUsersResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ListUsersResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> ListUsersResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ListUsersResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ListUsersResponse -> m ListUsersResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ListUsersResponse -> m ListUsersResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ListUsersResponse -> m ListUsersResponse #

Read ListUsersResponse Source # 
Show ListUsersResponse Source # 
Generic ListUsersResponse Source # 
NFData ListUsersResponse Source # 

Methods

rnf :: ListUsersResponse -> () #

type Rep ListUsersResponse Source # 
type Rep ListUsersResponse = D1 * (MetaData "ListUsersResponse" "Network.AWS.WorkMail.ListUsers" "amazonka-workmail-1.6.0-8HAZCS55pFIAg9ZAclEI0R" False) (C1 * (MetaCons "ListUsersResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_lursUsers") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [User]))) ((:*:) * (S1 * (MetaSel (Just Symbol "_lursNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_lursResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)))))

Response Lenses

lursUsers :: Lens' ListUsersResponse [User] Source #

The overview of users for an organization.

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

The token to use to retrieve the next page of results. This value is null when there are no more results to return.

lursResponseStatus :: Lens' ListUsersResponse Int Source #

  • - | The response status code.