amazonka-cognito-idp-2.0: Amazon Cognito Identity Provider SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.CognitoIdentityProvider.ListUsersInGroup

Description

Lists the users in the specified group.

Calling this action requires developer credentials.

This operation returns paginated results.

Synopsis

Creating a Request

data ListUsersInGroup Source #

See: newListUsersInGroup smart constructor.

Constructors

ListUsersInGroup' 

Fields

  • limit :: Maybe Natural

    The limit of the request to list users.

  • nextToken :: Maybe Text

    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.

  • userPoolId :: Text

    The user pool ID for the user pool.

  • groupName :: Text

    The name of the group.

Instances

Instances details
ToJSON ListUsersInGroup Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.ListUsersInGroup

ToHeaders ListUsersInGroup Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.ListUsersInGroup

ToPath ListUsersInGroup Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.ListUsersInGroup

ToQuery ListUsersInGroup Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.ListUsersInGroup

AWSPager ListUsersInGroup Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.ListUsersInGroup

AWSRequest ListUsersInGroup Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.ListUsersInGroup

Associated Types

type AWSResponse ListUsersInGroup #

Generic ListUsersInGroup Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.ListUsersInGroup

Associated Types

type Rep ListUsersInGroup :: Type -> Type #

Read ListUsersInGroup Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.ListUsersInGroup

Show ListUsersInGroup Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.ListUsersInGroup

NFData ListUsersInGroup Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.ListUsersInGroup

Methods

rnf :: ListUsersInGroup -> () #

Eq ListUsersInGroup Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.ListUsersInGroup

Hashable ListUsersInGroup Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.ListUsersInGroup

type AWSResponse ListUsersInGroup Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.ListUsersInGroup

type Rep ListUsersInGroup Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.ListUsersInGroup

type Rep ListUsersInGroup = D1 ('MetaData "ListUsersInGroup" "Amazonka.CognitoIdentityProvider.ListUsersInGroup" "amazonka-cognito-idp-2.0-D1ERgMvEVPG9z8cOLXdU2" 'False) (C1 ('MetaCons "ListUsersInGroup'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "limit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "userPoolId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "groupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newListUsersInGroup Source #

Create a value of ListUsersInGroup 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:limit:ListUsersInGroup', listUsersInGroup_limit - The limit of the request to list users.

ListUsersInGroup, listUsersInGroup_nextToken - 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.

ListUsersInGroup, listUsersInGroup_userPoolId - The user pool ID for the user pool.

ListUsersInGroup, listUsersInGroup_groupName - The name of the group.

Request Lenses

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

The limit of the request to list users.

listUsersInGroup_nextToken :: 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.

listUsersInGroup_userPoolId :: Lens' ListUsersInGroup Text Source #

The user pool ID for the user pool.

Destructuring the Response

data ListUsersInGroupResponse Source #

See: newListUsersInGroupResponse smart constructor.

Constructors

ListUsersInGroupResponse' 

Fields

Instances

Instances details
Generic ListUsersInGroupResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.ListUsersInGroup

Associated Types

type Rep ListUsersInGroupResponse :: Type -> Type #

Show ListUsersInGroupResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.ListUsersInGroup

NFData ListUsersInGroupResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.ListUsersInGroup

Eq ListUsersInGroupResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.ListUsersInGroup

type Rep ListUsersInGroupResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.ListUsersInGroup

type Rep ListUsersInGroupResponse = D1 ('MetaData "ListUsersInGroupResponse" "Amazonka.CognitoIdentityProvider.ListUsersInGroup" "amazonka-cognito-idp-2.0-D1ERgMvEVPG9z8cOLXdU2" 'False) (C1 ('MetaCons "ListUsersInGroupResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "users") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [UserType])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListUsersInGroupResponse Source #

Create a value of ListUsersInGroupResponse 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:

ListUsersInGroup, listUsersInGroupResponse_nextToken - An identifier that you can use in a later request to return the next set of items in the list.

$sel:users:ListUsersInGroupResponse', listUsersInGroupResponse_users - The users returned in the request to list users.

$sel:httpStatus:ListUsersInGroupResponse', listUsersInGroupResponse_httpStatus - The response's http status code.

Response Lenses

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

An identifier that you can use in a later request to return the next set of items in the list.

listUsersInGroupResponse_users :: Lens' ListUsersInGroupResponse (Maybe [UserType]) Source #

The users returned in the request to list users.