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

Description

Deletes a user as an administrator. Works on any user.

Calling this action requires developer credentials.

Synopsis

Creating a Request

data AdminDeleteUser Source #

Represents the request to delete a user as an administrator.

See: newAdminDeleteUser smart constructor.

Constructors

AdminDeleteUser' 

Fields

Instances

Instances details
Eq AdminDeleteUser Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.AdminDeleteUser

Show AdminDeleteUser Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.AdminDeleteUser

Generic AdminDeleteUser Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.AdminDeleteUser

Associated Types

type Rep AdminDeleteUser :: Type -> Type #

NFData AdminDeleteUser Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.AdminDeleteUser

Methods

rnf :: AdminDeleteUser -> () #

Hashable AdminDeleteUser Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.AdminDeleteUser

ToJSON AdminDeleteUser Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.AdminDeleteUser

AWSRequest AdminDeleteUser Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.AdminDeleteUser

Associated Types

type AWSResponse AdminDeleteUser #

ToHeaders AdminDeleteUser Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.AdminDeleteUser

ToPath AdminDeleteUser Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.AdminDeleteUser

ToQuery AdminDeleteUser Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.AdminDeleteUser

type Rep AdminDeleteUser Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.AdminDeleteUser

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

Defined in Amazonka.CognitoIdentityProvider.AdminDeleteUser

newAdminDeleteUser Source #

Create a value of AdminDeleteUser 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:userPoolId:AdminDeleteUser', adminDeleteUser_userPoolId - The user pool ID for the user pool where you want to delete the user.

$sel:username:AdminDeleteUser', adminDeleteUser_username - The user name of the user you wish to delete.

Request Lenses

adminDeleteUser_userPoolId :: Lens' AdminDeleteUser Text Source #

The user pool ID for the user pool where you want to delete the user.

adminDeleteUser_username :: Lens' AdminDeleteUser Text Source #

The user name of the user you wish to delete.

Destructuring the Response

data AdminDeleteUserResponse Source #

See: newAdminDeleteUserResponse smart constructor.

Instances

Instances details
Eq AdminDeleteUserResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.AdminDeleteUser

Read AdminDeleteUserResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.AdminDeleteUser

Show AdminDeleteUserResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.AdminDeleteUser

Generic AdminDeleteUserResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.AdminDeleteUser

Associated Types

type Rep AdminDeleteUserResponse :: Type -> Type #

NFData AdminDeleteUserResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.AdminDeleteUser

Methods

rnf :: AdminDeleteUserResponse -> () #

type Rep AdminDeleteUserResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.AdminDeleteUser

type Rep AdminDeleteUserResponse = D1 ('MetaData "AdminDeleteUserResponse" "Amazonka.CognitoIdentityProvider.AdminDeleteUser" "libZSservicesZSamazonka-cognito-idpZSamazonka-cognito-idp" 'False) (C1 ('MetaCons "AdminDeleteUserResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newAdminDeleteUserResponse :: AdminDeleteUserResponse Source #

Create a value of AdminDeleteUserResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.