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

Description

Lists the groups that the user belongs to.

Calling this action requires developer credentials.

This operation returns paginated results.

Synopsis

Creating a Request

data AdminListGroupsForUser Source #

See: newAdminListGroupsForUser smart constructor.

Constructors

AdminListGroupsForUser' 

Fields

Instances

Instances details
Eq AdminListGroupsForUser Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.AdminListGroupsForUser

Show AdminListGroupsForUser Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.AdminListGroupsForUser

Generic AdminListGroupsForUser Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.AdminListGroupsForUser

Associated Types

type Rep AdminListGroupsForUser :: Type -> Type #

NFData AdminListGroupsForUser Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.AdminListGroupsForUser

Methods

rnf :: AdminListGroupsForUser -> () #

Hashable AdminListGroupsForUser Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.AdminListGroupsForUser

ToJSON AdminListGroupsForUser Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.AdminListGroupsForUser

AWSPager AdminListGroupsForUser Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.AdminListGroupsForUser

AWSRequest AdminListGroupsForUser Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.AdminListGroupsForUser

Associated Types

type AWSResponse AdminListGroupsForUser #

ToHeaders AdminListGroupsForUser Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.AdminListGroupsForUser

ToPath AdminListGroupsForUser Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.AdminListGroupsForUser

ToQuery AdminListGroupsForUser Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.AdminListGroupsForUser

type Rep AdminListGroupsForUser Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.AdminListGroupsForUser

type Rep AdminListGroupsForUser = D1 ('MetaData "AdminListGroupsForUser" "Amazonka.CognitoIdentityProvider.AdminListGroupsForUser" "libZSservicesZSamazonka-cognito-idpZSamazonka-cognito-idp" 'False) (C1 ('MetaCons "AdminListGroupsForUser'" '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 "username") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Sensitive Text)) :*: S1 ('MetaSel ('Just "userPoolId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse AdminListGroupsForUser Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.AdminListGroupsForUser

newAdminListGroupsForUser Source #

Create a value of AdminListGroupsForUser 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:AdminListGroupsForUser', adminListGroupsForUser_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:AdminListGroupsForUser', adminListGroupsForUser_limit - The limit of the request to list groups.

$sel:username:AdminListGroupsForUser', adminListGroupsForUser_username - The username for the user.

$sel:userPoolId:AdminListGroupsForUser', adminListGroupsForUser_userPoolId - The user pool ID for the user pool.

Request Lenses

adminListGroupsForUser_nextToken :: Lens' AdminListGroupsForUser (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.

adminListGroupsForUser_limit :: Lens' AdminListGroupsForUser (Maybe Natural) Source #

The limit of the request to list groups.

Destructuring the Response

data AdminListGroupsForUserResponse Source #

See: newAdminListGroupsForUserResponse smart constructor.

Constructors

AdminListGroupsForUserResponse' 

Fields

  • groups :: Maybe [GroupType]

    The groups that the user belongs to.

  • 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 AdminListGroupsForUserResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.AdminListGroupsForUser

Read AdminListGroupsForUserResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.AdminListGroupsForUser

Show AdminListGroupsForUserResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.AdminListGroupsForUser

Generic AdminListGroupsForUserResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.AdminListGroupsForUser

Associated Types

type Rep AdminListGroupsForUserResponse :: Type -> Type #

NFData AdminListGroupsForUserResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.AdminListGroupsForUser

type Rep AdminListGroupsForUserResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.AdminListGroupsForUser

type Rep AdminListGroupsForUserResponse = D1 ('MetaData "AdminListGroupsForUserResponse" "Amazonka.CognitoIdentityProvider.AdminListGroupsForUser" "libZSservicesZSamazonka-cognito-idpZSamazonka-cognito-idp" 'False) (C1 ('MetaCons "AdminListGroupsForUserResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "groups") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [GroupType])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newAdminListGroupsForUserResponse Source #

Create a value of AdminListGroupsForUserResponse 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:groups:AdminListGroupsForUserResponse', adminListGroupsForUserResponse_groups - The groups that the user belongs to.

$sel:nextToken:AdminListGroupsForUser', adminListGroupsForUserResponse_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:AdminListGroupsForUserResponse', adminListGroupsForUserResponse_httpStatus - The response's http status code.

Response Lenses

adminListGroupsForUserResponse_nextToken :: Lens' AdminListGroupsForUserResponse (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.