libZSservicesZSamazonka-cognito-idpZSamazonka-cognito-idp
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.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

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

  • limit :: Maybe Natural

    The limit of the request to list users.

  • userPoolId :: Text

    The user pool ID for the user pool.

  • groupName :: Text

    The name of the group.

Instances

Instances details
Eq ListUsersInGroup Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.ListUsersInGroup

Read ListUsersInGroup Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.ListUsersInGroup

Show ListUsersInGroup Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.ListUsersInGroup

Generic ListUsersInGroup Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.ListUsersInGroup

Associated Types

type Rep ListUsersInGroup :: Type -> Type #

NFData ListUsersInGroup Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.ListUsersInGroup

Methods

rnf :: ListUsersInGroup -> () #

Hashable ListUsersInGroup Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.ListUsersInGroup

ToJSON 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 #

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

type Rep ListUsersInGroup Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.ListUsersInGroup

type Rep ListUsersInGroup = D1 ('MetaData "ListUsersInGroup" "Amazonka.CognitoIdentityProvider.ListUsersInGroup" "libZSservicesZSamazonka-cognito-idpZSamazonka-cognito-idp" 'False) (C1 ('MetaCons "ListUsersInGroup'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "limit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))) :*: (S1 ('MetaSel ('Just "userPoolId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "groupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse ListUsersInGroup Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.ListUsersInGroup

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

$sel:limit:ListUsersInGroup', listUsersInGroup_limit - The limit of the request to list users.

$sel:userPoolId:ListUsersInGroup', listUsersInGroup_userPoolId - The user pool ID for the user pool.

$sel:groupName:ListUsersInGroup', listUsersInGroup_groupName - The name of the group.

Request Lenses

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_limit :: Lens' ListUsersInGroup (Maybe Natural) Source #

The limit of the request to list users.

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

  • users :: Maybe [UserType]

    The users returned in 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.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq ListUsersInGroupResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.ListUsersInGroup

Show ListUsersInGroupResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.ListUsersInGroup

Generic ListUsersInGroupResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.ListUsersInGroup

Associated Types

type Rep ListUsersInGroupResponse :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-cognito-idpZSamazonka-cognito-idp" 'False) (C1 ('MetaCons "ListUsersInGroupResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "users") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [UserType])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: 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:

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

$sel:nextToken:ListUsersInGroup', listUsersInGroupResponse_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.

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

Response Lenses

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

The users returned in the request to list users.

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