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

Description

Enables the specified user as an administrator. Works on any user.

Calling this action requires developer credentials.

Synopsis

Creating a Request

data AdminEnableUser Source #

Represents the request that enables the user as an administrator.

See: newAdminEnableUser smart constructor.

Constructors

AdminEnableUser' 

Fields

Instances

Instances details
Eq AdminEnableUser Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.AdminEnableUser

Show AdminEnableUser Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.AdminEnableUser

Generic AdminEnableUser Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.AdminEnableUser

Associated Types

type Rep AdminEnableUser :: Type -> Type #

NFData AdminEnableUser Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.AdminEnableUser

Methods

rnf :: AdminEnableUser -> () #

Hashable AdminEnableUser Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.AdminEnableUser

ToJSON AdminEnableUser Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.AdminEnableUser

AWSRequest AdminEnableUser Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.AdminEnableUser

Associated Types

type AWSResponse AdminEnableUser #

ToHeaders AdminEnableUser Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.AdminEnableUser

ToPath AdminEnableUser Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.AdminEnableUser

ToQuery AdminEnableUser Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.AdminEnableUser

type Rep AdminEnableUser Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.AdminEnableUser

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

Defined in Amazonka.CognitoIdentityProvider.AdminEnableUser

newAdminEnableUser Source #

Create a value of AdminEnableUser 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:AdminEnableUser', adminEnableUser_userPoolId - The user pool ID for the user pool where you want to enable the user.

$sel:username:AdminEnableUser', adminEnableUser_username - The user name of the user you wish to enable.

Request Lenses

adminEnableUser_userPoolId :: Lens' AdminEnableUser Text Source #

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

adminEnableUser_username :: Lens' AdminEnableUser Text Source #

The user name of the user you wish to enable.

Destructuring the Response

data AdminEnableUserResponse Source #

Represents the response from the server for the request to enable a user as an administrator.

See: newAdminEnableUserResponse smart constructor.

Constructors

AdminEnableUserResponse' 

Fields

Instances

Instances details
Eq AdminEnableUserResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.AdminEnableUser

Read AdminEnableUserResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.AdminEnableUser

Show AdminEnableUserResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.AdminEnableUser

Generic AdminEnableUserResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.AdminEnableUser

Associated Types

type Rep AdminEnableUserResponse :: Type -> Type #

NFData AdminEnableUserResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.AdminEnableUser

Methods

rnf :: AdminEnableUserResponse -> () #

type Rep AdminEnableUserResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.AdminEnableUser

type Rep AdminEnableUserResponse = D1 ('MetaData "AdminEnableUserResponse" "Amazonka.CognitoIdentityProvider.AdminEnableUser" "libZSservicesZSamazonka-cognito-idpZSamazonka-cognito-idp" 'False) (C1 ('MetaCons "AdminEnableUserResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newAdminEnableUserResponse Source #

Create a value of AdminEnableUserResponse 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:httpStatus:AdminEnableUserResponse', adminEnableUserResponse_httpStatus - The response's http status code.

Response Lenses