amazonka-cognito-idp-1.6.0: 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.DeleteUserAttributes

Contents

Description

Deletes the attributes for a user.

Synopsis

Creating a Request

deleteUserAttributes Source #

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

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

  • duaUserAttributeNames - 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.
  • duaAccessToken - The access token used in the request to delete user attributes.

data DeleteUserAttributes Source #

Represents the request to delete user attributes.

See: deleteUserAttributes smart constructor.

Instances

Eq DeleteUserAttributes Source # 
Data DeleteUserAttributes Source # 

Methods

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

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

toConstr :: DeleteUserAttributes -> Constr #

dataTypeOf :: DeleteUserAttributes -> DataType #

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

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

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

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

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

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

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

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

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

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

Show DeleteUserAttributes Source # 
Generic DeleteUserAttributes Source # 
Hashable DeleteUserAttributes Source # 
ToJSON DeleteUserAttributes Source # 
NFData DeleteUserAttributes Source # 

Methods

rnf :: DeleteUserAttributes -> () #

AWSRequest DeleteUserAttributes Source # 
ToHeaders DeleteUserAttributes Source # 
ToPath DeleteUserAttributes Source # 
ToQuery DeleteUserAttributes Source # 
type Rep DeleteUserAttributes Source # 
type Rep DeleteUserAttributes = D1 * (MetaData "DeleteUserAttributes" "Network.AWS.CognitoIdentityProvider.DeleteUserAttributes" "amazonka-cognito-idp-1.6.0-JhJp6CX0k821Z1WSNBuBfd" False) (C1 * (MetaCons "DeleteUserAttributes'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_duaUserAttributeNames") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * [Text])) (S1 * (MetaSel (Just Symbol "_duaAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Sensitive Text)))))
type Rs DeleteUserAttributes Source # 

Request Lenses

duaUserAttributeNames :: Lens' DeleteUserAttributes [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.

duaAccessToken :: Lens' DeleteUserAttributes Text Source #

The access token used in the request to delete user attributes.

Destructuring the Response

deleteUserAttributesResponse Source #

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

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

data DeleteUserAttributesResponse Source #

Represents the response from the server to delete user attributes.

See: deleteUserAttributesResponse smart constructor.

Instances

Eq DeleteUserAttributesResponse Source # 
Data DeleteUserAttributesResponse Source # 

Methods

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

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

toConstr :: DeleteUserAttributesResponse -> Constr #

dataTypeOf :: DeleteUserAttributesResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteUserAttributesResponse Source # 
Show DeleteUserAttributesResponse Source # 
Generic DeleteUserAttributesResponse Source # 
NFData DeleteUserAttributesResponse Source # 
type Rep DeleteUserAttributesResponse Source # 
type Rep DeleteUserAttributesResponse = D1 * (MetaData "DeleteUserAttributesResponse" "Network.AWS.CognitoIdentityProvider.DeleteUserAttributes" "amazonka-cognito-idp-1.6.0-JhJp6CX0k821Z1WSNBuBfd" True) (C1 * (MetaCons "DeleteUserAttributesResponse'" PrefixI True) (S1 * (MetaSel (Just Symbol "_duarsResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Int)))

Response Lenses