amazonka-cognito-idp-1.6.1: Amazon Cognito Identity Provider SDK.

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.CognitoIdentityProvider.AdminDeleteUserAttributes

Contents

Description

Deletes the user attributes in a user pool as an administrator. Works on any user.

Requires developer credentials.

Synopsis

Creating a Request

adminDeleteUserAttributes Source #

Creates a value of AdminDeleteUserAttributes with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • aduaUserPoolId - The user pool ID for the user pool where you want to delete user attributes.
  • aduaUsername - The user name of the user from which you would like to delete attributes.
  • aduaUserAttributeNames - An array of strings representing the user attribute names you wish to delete. For custom attributes, you must prepend the custom: prefix to the attribute name.

data AdminDeleteUserAttributes Source #

Represents the request to delete user attributes as an administrator.

See: adminDeleteUserAttributes smart constructor.

Instances
Eq AdminDeleteUserAttributes Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.AdminDeleteUserAttributes

Data AdminDeleteUserAttributes Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.AdminDeleteUserAttributes

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> AdminDeleteUserAttributes -> c AdminDeleteUserAttributes #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c AdminDeleteUserAttributes #

toConstr :: AdminDeleteUserAttributes -> Constr #

dataTypeOf :: AdminDeleteUserAttributes -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c AdminDeleteUserAttributes) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c AdminDeleteUserAttributes) #

gmapT :: (forall b. Data b => b -> b) -> AdminDeleteUserAttributes -> AdminDeleteUserAttributes #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> AdminDeleteUserAttributes -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> AdminDeleteUserAttributes -> r #

gmapQ :: (forall d. Data d => d -> u) -> AdminDeleteUserAttributes -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> AdminDeleteUserAttributes -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> AdminDeleteUserAttributes -> m AdminDeleteUserAttributes #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> AdminDeleteUserAttributes -> m AdminDeleteUserAttributes #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> AdminDeleteUserAttributes -> m AdminDeleteUserAttributes #

Show AdminDeleteUserAttributes Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.AdminDeleteUserAttributes

Generic AdminDeleteUserAttributes Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.AdminDeleteUserAttributes

Associated Types

type Rep AdminDeleteUserAttributes :: Type -> Type #

Hashable AdminDeleteUserAttributes Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.AdminDeleteUserAttributes

ToJSON AdminDeleteUserAttributes Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.AdminDeleteUserAttributes

AWSRequest AdminDeleteUserAttributes Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.AdminDeleteUserAttributes

Associated Types

type Rs AdminDeleteUserAttributes :: Type #

ToHeaders AdminDeleteUserAttributes Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.AdminDeleteUserAttributes

ToPath AdminDeleteUserAttributes Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.AdminDeleteUserAttributes

ToQuery AdminDeleteUserAttributes Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.AdminDeleteUserAttributes

NFData AdminDeleteUserAttributes Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.AdminDeleteUserAttributes

type Rep AdminDeleteUserAttributes Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.AdminDeleteUserAttributes

type Rep AdminDeleteUserAttributes = D1 (MetaData "AdminDeleteUserAttributes" "Network.AWS.CognitoIdentityProvider.AdminDeleteUserAttributes" "amazonka-cognito-idp-1.6.1-IATNKTGZSOc4TejpW4Ifw7" False) (C1 (MetaCons "AdminDeleteUserAttributes'" PrefixI True) (S1 (MetaSel (Just "_aduaUserPoolId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_aduaUsername") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Sensitive Text)) :*: S1 (MetaSel (Just "_aduaUserAttributeNames") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 [Text]))))
type Rs AdminDeleteUserAttributes Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.AdminDeleteUserAttributes

Request Lenses

aduaUserPoolId :: Lens' AdminDeleteUserAttributes Text Source #

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

aduaUsername :: Lens' AdminDeleteUserAttributes Text Source #

The user name of the user from which you would like to delete attributes.

aduaUserAttributeNames :: Lens' AdminDeleteUserAttributes [Text] Source #

An array of strings representing the user attribute names you wish to delete. For custom attributes, you must prepend the custom: prefix to the attribute name.

Destructuring the Response

adminDeleteUserAttributesResponse Source #

Creates a value of AdminDeleteUserAttributesResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data AdminDeleteUserAttributesResponse Source #

Represents the response received from the server for a request to delete user attributes.

See: adminDeleteUserAttributesResponse smart constructor.

Instances
Eq AdminDeleteUserAttributesResponse Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.AdminDeleteUserAttributes

Data AdminDeleteUserAttributesResponse Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.AdminDeleteUserAttributes

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> AdminDeleteUserAttributesResponse -> c AdminDeleteUserAttributesResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c AdminDeleteUserAttributesResponse #

toConstr :: AdminDeleteUserAttributesResponse -> Constr #

dataTypeOf :: AdminDeleteUserAttributesResponse -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c AdminDeleteUserAttributesResponse) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c AdminDeleteUserAttributesResponse) #

gmapT :: (forall b. Data b => b -> b) -> AdminDeleteUserAttributesResponse -> AdminDeleteUserAttributesResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> AdminDeleteUserAttributesResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> AdminDeleteUserAttributesResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> AdminDeleteUserAttributesResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> AdminDeleteUserAttributesResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> AdminDeleteUserAttributesResponse -> m AdminDeleteUserAttributesResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> AdminDeleteUserAttributesResponse -> m AdminDeleteUserAttributesResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> AdminDeleteUserAttributesResponse -> m AdminDeleteUserAttributesResponse #

Read AdminDeleteUserAttributesResponse Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.AdminDeleteUserAttributes

Show AdminDeleteUserAttributesResponse Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.AdminDeleteUserAttributes

Generic AdminDeleteUserAttributesResponse Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.AdminDeleteUserAttributes

Associated Types

type Rep AdminDeleteUserAttributesResponse :: Type -> Type #

NFData AdminDeleteUserAttributesResponse Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.AdminDeleteUserAttributes

type Rep AdminDeleteUserAttributesResponse Source # 
Instance details

Defined in Network.AWS.CognitoIdentityProvider.AdminDeleteUserAttributes

type Rep AdminDeleteUserAttributesResponse = D1 (MetaData "AdminDeleteUserAttributesResponse" "Network.AWS.CognitoIdentityProvider.AdminDeleteUserAttributes" "amazonka-cognito-idp-1.6.1-IATNKTGZSOc4TejpW4Ifw7" True) (C1 (MetaCons "AdminDeleteUserAttributesResponse'" PrefixI True) (S1 (MetaSel (Just "_aduarsResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)))

Response Lenses