amazonka-cognito-idp-1.6.1: Amazon Cognito Identity Provider 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.CognitoIdentityProvider.ListUsersInGroup

Contents

Description

Lists the users in the specified group.

Requires developer credentials.

Synopsis

Creating a Request

listUsersInGroup Source #

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

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

  • luigNextToken - An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.
  • luigLimit - The limit of the request to list users.
  • luigUserPoolId - The user pool ID for the user pool.
  • luigGroupName - The name of the group.

data ListUsersInGroup Source #

See: listUsersInGroup smart constructor.

Instances
Eq ListUsersInGroup Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.ListUsersInGroup

Data ListUsersInGroup Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.ListUsersInGroup

Methods

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

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

toConstr :: ListUsersInGroup -> Constr #

dataTypeOf :: ListUsersInGroup -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListUsersInGroup Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.ListUsersInGroup

Show ListUsersInGroup Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.ListUsersInGroup

Generic ListUsersInGroup Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.ListUsersInGroup

Associated Types

type Rep ListUsersInGroup :: Type -> Type #

Hashable ListUsersInGroup Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.ListUsersInGroup

ToJSON ListUsersInGroup Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.ListUsersInGroup

AWSRequest ListUsersInGroup Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.ListUsersInGroup

Associated Types

type Rs ListUsersInGroup :: Type #

ToHeaders ListUsersInGroup Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.ListUsersInGroup

ToPath ListUsersInGroup Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.ListUsersInGroup

ToQuery ListUsersInGroup Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.ListUsersInGroup

NFData ListUsersInGroup Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.ListUsersInGroup

Methods

rnf :: ListUsersInGroup -> () #

type Rep ListUsersInGroup Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.ListUsersInGroup

type Rep ListUsersInGroup = D1 (MetaData "ListUsersInGroup" "Network.AWS.CognitoIdentityProvider.ListUsersInGroup" "amazonka-cognito-idp-1.6.1-IATNKTGZSOc4TejpW4Ifw7" False) (C1 (MetaCons "ListUsersInGroup'" PrefixI True) ((S1 (MetaSel (Just "_luigNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_luigLimit") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat))) :*: (S1 (MetaSel (Just "_luigUserPoolId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_luigGroupName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs ListUsersInGroup Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.ListUsersInGroup

Request Lenses

luigNextToken :: Lens' ListUsersInGroup (Maybe Text) Source #

An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.

luigLimit :: Lens' ListUsersInGroup (Maybe Natural) Source #

The limit of the request to list users.

luigUserPoolId :: Lens' ListUsersInGroup Text Source #

The user pool ID for the user pool.

luigGroupName :: Lens' ListUsersInGroup Text Source #

The name of the group.

Destructuring the Response

listUsersInGroupResponse Source #

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

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

  • luigrsUsers - The users returned in the request to list users.
  • luigrsNextToken - An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.
  • luigrsResponseStatus - -- | The response status code.

data ListUsersInGroupResponse Source #

See: listUsersInGroupResponse smart constructor.

Instances
Eq ListUsersInGroupResponse Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.ListUsersInGroup

Data ListUsersInGroupResponse Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.ListUsersInGroup

Methods

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

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

toConstr :: ListUsersInGroupResponse -> Constr #

dataTypeOf :: ListUsersInGroupResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ListUsersInGroupResponse Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.ListUsersInGroup

Generic ListUsersInGroupResponse Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.ListUsersInGroup

Associated Types

type Rep ListUsersInGroupResponse :: Type -> Type #

NFData ListUsersInGroupResponse Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.ListUsersInGroup

type Rep ListUsersInGroupResponse Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.ListUsersInGroup

type Rep ListUsersInGroupResponse = D1 (MetaData "ListUsersInGroupResponse" "Network.AWS.CognitoIdentityProvider.ListUsersInGroup" "amazonka-cognito-idp-1.6.1-IATNKTGZSOc4TejpW4Ifw7" False) (C1 (MetaCons "ListUsersInGroupResponse'" PrefixI True) (S1 (MetaSel (Just "_luigrsUsers") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [UserType])) :*: (S1 (MetaSel (Just "_luigrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_luigrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

luigrsUsers :: Lens' ListUsersInGroupResponse [UserType] Source #

The users returned in the request to list users.

luigrsNextToken :: Lens' ListUsersInGroupResponse (Maybe Text) Source #

An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.